From a86d22f277155f02a0c426e715944cff95cbbf9a Mon Sep 17 00:00:00 2001 From: jilles Date: Sun, 6 Feb 2011 23:26:14 +0000 Subject: rfork_thread(3): Mark deprecated in favor of pthread_create(3). --- lib/libc/gen/rfork_thread.3 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'lib/libc') 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 -- cgit v1.1