summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/include/pthread.h
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2008-12-18 09:30:32 +0000
committerguenther <guenther@openbsd.org>2008-12-18 09:30:32 +0000
commit91063d07156452ee17c2de7976871bc6f138c85a (patch)
treefc5394b2e63f04921cda830020d717f1ec3aa2c6 /lib/libpthread/include/pthread.h
parentsync (diff)
downloadwireguard-openbsd-91063d07156452ee17c2de7976871bc6f138c85a.tar.xz
wireguard-openbsd-91063d07156452ee17c2de7976871bc6f138c85a.zip
Add pthread_attr_[sg]etguardsize() to match rthread, including manpages
Bump lib minor ok otto@ kurt@ marc@; doc review by jmc@
Diffstat (limited to 'lib/libpthread/include/pthread.h')
-rw-r--r--lib/libpthread/include/pthread.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libpthread/include/pthread.h b/lib/libpthread/include/pthread.h
index ca837eb11f1..e572fae8f73 100644
--- a/lib/libpthread/include/pthread.h
+++ b/lib/libpthread/include/pthread.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pthread.h,v 1.28 2008/06/25 14:58:54 millert Exp $ */
+/* $OpenBSD: pthread.h,v 1.29 2008/12/18 09:30:32 guenther Exp $ */
/*
* Copyright (c) 1993, 1994 by Chris Provenzano, proven@mit.edu
@@ -203,11 +203,13 @@ int pthread_attr_getstack(const pthread_attr_t *,
void **, size_t *);
int pthread_attr_getstacksize(const pthread_attr_t *, size_t *);
int pthread_attr_getstackaddr(const pthread_attr_t *, void **);
+int pthread_attr_getguardsize(const pthread_attr_t *, size_t *);
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_setstack(pthread_attr_t *, void *, size_t);
int pthread_attr_setstackaddr(pthread_attr_t *, void *);
+int pthread_attr_setguardsize(pthread_attr_t *, size_t);
int pthread_attr_setdetachstate(pthread_attr_t *, int);
void pthread_cleanup_pop(int);
void pthread_cleanup_push(void (*) (void *), void *routine_arg);