diff options
author | ru <ru@FreeBSD.org> | 2003-02-24 22:53:26 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-02-24 22:53:26 +0000 |
commit | 0dea5415679a9db700f2846b28d2d8ff833032c7 (patch) | |
tree | 9409aa78bd0bf64293f9e45238d4a82861b7663b /lib/libc_r/man/pthread_main_np.3 | |
parent | 83d0e58172de7563f59519892b23c2fd0e80ca56 (diff) | |
download | FreeBSD-src-0dea5415679a9db700f2846b28d2d8ff833032c7.zip FreeBSD-src-0dea5415679a9db700f2846b28d2d8ff833032c7.tar.gz |
mdoc(7) police: Scheduled sweep.
Diffstat (limited to 'lib/libc_r/man/pthread_main_np.3')
-rw-r--r-- | lib/libc_r/man/pthread_main_np.3 | 27 |
1 files changed, 10 insertions, 17 deletions
diff --git a/lib/libc_r/man/pthread_main_np.3 b/lib/libc_r/man/pthread_main_np.3 index 6d9d830..9065b90 100644 --- a/lib/libc_r/man/pthread_main_np.3 +++ b/lib/libc_r/man/pthread_main_np.3 @@ -35,33 +35,26 @@ .Sh SYNOPSIS .In pthread_np.h .Ft int -.Fn pthread_main_np "void" +.Fn pthread_main_np void .Sh DESCRIPTION The .Fn pthread_main_np -is used in userland threads environment to identify initial thread. -Its semantics is similar to Solaris's +function +is used in userland threads environment to identify the initial thread. +Its semantics is similar to the Solaris's .Fn thr_main function. .Sh RETURN VALUES The .Fn pthread_main_np -function returns one of the following: -.Bl -tag -.It 1 -if the calling thread is the initial thread -.It 0 -if the calling thread is not the initial thread -.It -1 -if threads initialization has not completed -.El +function returns +1 if the calling thread is the initial thread, +0 if the calling thread is not the initial thread, +and \-1 if the thread's initialization has not yet completed. .Sh SEE ALSO .Xr pthread_create 3 , .Xr pthread_equal 3 , .Xr pthread_self 3 .Sh AUTHORS -The -.Nm -manpage was written by -.An Alexey Zelkin -.Aq phantom@FreeBSD.org +This manual page was written by +.An Alexey Zelkin Aq phantom@FreeBSD.org . |