summaryrefslogtreecommitdiff
path: root/lib/libpthread/man/pthread_stackseg_np.3
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2004-01-26 20:50:03 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2004-01-26 20:50:03 +0000
commit0af4082840f7323ba99c64e82ca3c21264b4fcd1 (patch)
treeab9d006d0c7641a0d79e6124774104a4020e769e /lib/libpthread/man/pthread_stackseg_np.3
parent6fcd23c3fb1f229e074ed244419f9fbcacd32de6 (diff)
Change read_stackseg_np to work with any thread, not just the current
thread. Requested by truk at optonline dot net and OK-ed by tedu @.
Diffstat (limited to 'lib/libpthread/man/pthread_stackseg_np.3')
-rw-r--r--lib/libpthread/man/pthread_stackseg_np.310
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libpthread/man/pthread_stackseg_np.3 b/lib/libpthread/man/pthread_stackseg_np.3
index 37d92c3e68b..1e4c8b13c88 100644
--- a/lib/libpthread/man/pthread_stackseg_np.3
+++ b/lib/libpthread/man/pthread_stackseg_np.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthread_stackseg_np.3,v 1.3 2004/01/25 14:48:32 jmc Exp $
+.\" $OpenBSD: pthread_stackseg_np.3,v 1.4 2004/01/26 20:50:02 marc Exp $
.\"
.\" PUBLIC DOMAIN: No Rights Reserved. Marco S Hyman <marc@snafu.org>
.\"
@@ -12,11 +12,11 @@
.Fd #include <sys/signal.h>
.Fd #include <pthread_np.h>
.Ft int
-.Fn pthread_stackseg_np "stack_t *sinfo"
+.Fn pthread_stackseg_np "pthread_t thread" "stack_t *sinfo"
.Sh DESCRIPTION
The
.Fn pthread_stackseg_np
-function returns information about the current thread's stack.
+function returns information about the given thread's stack.
A
.Fa stack_t
is the same as a
@@ -37,8 +37,8 @@ The
function will fail if:
.Bl -tag -width Er
.It Bq Er EAGAIN
-Stack information for the current thread is not currently available.
-There is no guarantee that the current thread's stack information will ever
+Stack information for the given thread is not currently available.
+There is no guarantee that the given thread's stack information will ever
become available.
.El
.Sh SEE ALSO