summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/man/pthreads.3
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2008-07-05 08:03:57 +0000
committerguenther <guenther@openbsd.org>2008-07-05 08:03:57 +0000
commit11ddadc0fe5e5612f4e632d77c9b84e8b35dba4d (patch)
tree9ec247d79aa38751f1816ade25e21bdb1a98fded /lib/libpthread/man/pthreads.3
parentksh starting as root will refuse to import a PS1 prompt unless it (diff)
downloadwireguard-openbsd-11ddadc0fe5e5612f4e632d77c9b84e8b35dba4d.tar.xz
wireguard-openbsd-11ddadc0fe5e5612f4e632d77c9b84e8b35dba4d.zip
Add manpage for pthread_attr_[sg]etstack(3)
Correct misnaming in STANDARDS section ok brad@ otto@
Diffstat (limited to 'lib/libpthread/man/pthreads.3')
-rw-r--r--lib/libpthread/man/pthreads.39
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libpthread/man/pthreads.3 b/lib/libpthread/man/pthreads.3
index 690693727ac..d760eaaa835 100644
--- a/lib/libpthread/man/pthreads.3
+++ b/lib/libpthread/man/pthreads.3
@@ -1,6 +1,6 @@
-.\" $OpenBSD: pthreads.3,v 1.27 2007/05/31 19:19:37 jmc Exp $
+.\" $OpenBSD: pthreads.3,v 1.28 2008/07/05 08:03:57 guenther Exp $
.\" David Leonard <d@openbsd.org>, 1998. Public domain.
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: July 5 2008 $
.Dt PTHREADS 3
.Os
.Sh NAME
@@ -72,6 +72,10 @@ Destroy a threads attribute object.
Get detachstate attribute.
.It Fn pthread_attr_setdetachstate
Set detachstate attribute.
+.It Fn pthread_attr_getstack
+Get stackaddr and stacksize attributes.
+.It Fn pthread_attr_setstack
+Set stackaddr and stacksize attributes.
.It Fn pthread_attr_getstackaddr
Get stackaddr attribute.
.It Fn pthread_attr_setstackaddr
@@ -487,6 +491,7 @@ environment variable.
.Xr pthread_atfork 3 ,
.Xr pthread_attr_init 3 ,
.Xr pthread_attr_setdetachstate 3 ,
+.Xr pthread_attr_setstack 3 ,
.Xr pthread_attr_setstackaddr 3 ,
.Xr pthread_attr_setstacksize 3 ,
.Xr pthread_cancel 3 ,