12345678910111213141516171819202122232425262728293031323334 |
- #include <assert.h>
- #include "pthreadP.h"
- int
- pthread_attr_getguardsize (const pthread_attr_t *attr, size_t *guardsize)
- {
- struct pthread_attr *iattr;
- assert (sizeof (*attr) >= sizeof (struct pthread_attr));
- iattr = (struct pthread_attr *) attr;
- *guardsize = iattr->guardsize;
- return 0;
- }
|