diff options
Diffstat (limited to 'lib/libc_r/man/pthread_main_np.3')
-rw-r--r-- | lib/libc_r/man/pthread_main_np.3 | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/lib/libc_r/man/pthread_main_np.3 b/lib/libc_r/man/pthread_main_np.3 deleted file mode 100644 index 76e73a3676e..00000000000 --- a/lib/libc_r/man/pthread_main_np.3 +++ /dev/null @@ -1,43 +0,0 @@ -.\" $OpenBSD: pthread_main_np.3,v 1.3 2002/05/01 08:03:30 mpech Exp $ -.\" -.\" Copyright (c) 2001 Peter Valchev <pvalchev@openbsd.org>. -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted. -.\" -.Dd August 17, 2001 -.Dt PTHREAD_MAIN_NP 3 -.Os -.Sh NAME -.Nm pthread_main_np -.Nd identify the main thread -.Sh SYNOPSIS -.Fd #include <pthread.h> -.Fd #include <pthread_np.h> -.Ft int -.Fn pthread_main_np "void" -.Sh DESCRIPTION -The -.Fn pthread_main_np -function identifies the main thread. -.Sh RETURN VALUES -The -.Fn pthread_main_np -function returns: -.Bl -tag -width hrmf -.It 1 -if the calling thread is the main thread -.It 0 -if the calling thread is not the main thread -.It -1 -if the thread initialization has not completed -.El -.Sh SEE ALSO -.Xr pthread_self 3 , -.Xr pthreads 3 -.Sh STANDARDS -The -.Fn pthread_main_np -function is non-portable and may not be supported with the above -semantics on other POSIX systems. |