summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2011-02-06 23:26:14 +0000
committerjilles <jilles@FreeBSD.org>2011-02-06 23:26:14 +0000
commita86d22f277155f02a0c426e715944cff95cbbf9a (patch)
tree8d583502b712d2cfff289ea1776ec0abe2182525 /lib/libc
parent31eda3d2ca1e9ed626d5939e944ccfbf3544cc85 (diff)
downloadFreeBSD-src-a86d22f277155f02a0c426e715944cff95cbbf9a.zip
FreeBSD-src-a86d22f277155f02a0c426e715944cff95cbbf9a.tar.gz
rfork_thread(3): Mark deprecated in favor of pthread_create(3).
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/rfork_thread.312
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/libc/gen/rfork_thread.3 b/lib/libc/gen/rfork_thread.3
index e985e1c..dfd6fbc 100644
--- a/lib/libc/gen/rfork_thread.3
+++ b/lib/libc/gen/rfork_thread.3
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 29, 2000
+.Dd February 6, 2011
.Dt RFORK_THREAD 3
.Os
.Sh NAME
@@ -38,6 +38,13 @@
.Ft pid_t
.Fn rfork_thread "int flags" "void *stack" "int (*func)(void *arg)" "void *arg"
.Sh DESCRIPTION
+.Bf -symbolic
+The
+.Fn rfork_thread
+function has been deprecated in favor of
+.Xr pthread_create 3 .
+.Ef
+.Pp
The
.Fn rfork_thread
function
@@ -71,7 +78,8 @@ for error return codes.
.Xr intro 2 ,
.Xr minherit 2 ,
.Xr rfork 2 ,
-.Xr vfork 2
+.Xr vfork 2 ,
+.Xr pthread_create 3
.Sh HISTORY
The
.Fn rfork_thread
OpenPOWER on IntegriCloud