1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #include <assert.h>
- #include <errno.h>
- #include "pthreadP.h"
- int
- __pthread_attr_getstackaddr (
- const pthread_attr_t *attr,
- void **stackaddr)
- {
- struct pthread_attr *iattr;
- assert (sizeof (*attr) >= sizeof (struct pthread_attr));
- iattr = (struct pthread_attr *) attr;
-
- *stackaddr = iattr->stackaddr;
- return 0;
- }
- strong_alias (__pthread_attr_getstackaddr, pthread_attr_getstackaddr)
|