aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/pthread.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/pthread.h b/include/pthread.h
index 83f36e440404..647e70283dc0 100644
--- a/include/pthread.h
+++ b/include/pthread.h
@@ -190,6 +190,9 @@ enum pthread_mutextype {
*/
__BEGIN_DECLS
int pthread_attr_destroy(pthread_attr_t *);
+int pthread_attr_getstack(const pthread_attr_t * __restrict,
+ void ** __restrict stackaddr,
+ size_t * __restrict stacksize);
int pthread_attr_getstacksize(const pthread_attr_t *, size_t *);
int pthread_attr_getguardsize(const pthread_attr_t *, size_t *);
int pthread_attr_getstackaddr(const pthread_attr_t *, void **);
@@ -197,6 +200,7 @@ int pthread_attr_getdetachstate(const pthread_attr_t *, int *);
int pthread_attr_init(pthread_attr_t *);
int pthread_attr_setstacksize(pthread_attr_t *, size_t);
int pthread_attr_setguardsize(pthread_attr_t *, size_t);
+int pthread_attr_setstack(pthread_attr_t *, void *, size_t);
int pthread_attr_setstackaddr(pthread_attr_t *, void *);
int pthread_attr_setdetachstate(pthread_attr_t *, int);
void pthread_cleanup_pop(int);