From owner-svn-src-all@FreeBSD.ORG Sun Feb 6 23:26:14 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC6BA1065670; Sun, 6 Feb 2011 23:26:14 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id CB75B8FC14; Sun, 6 Feb 2011 23:26:14 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p16NQEF0084788; Sun, 6 Feb 2011 23:26:14 GMT (envelope-from jilles@svn.freebsd.org) Received: (from jilles@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p16NQEc3084786; Sun, 6 Feb 2011 23:26:14 GMT (envelope-from jilles@svn.freebsd.org) Message-Id: <201102062326.p16NQEc3084786@svn.freebsd.org> From: Jilles Tjoelker Date: Sun, 6 Feb 2011 23:26:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218385 - head/lib/libc/gen X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2011 23:26:15 -0000 Author: jilles Date: Sun Feb 6 23:26:14 2011 New Revision: 218385 URL: http://svn.freebsd.org/changeset/base/218385 Log: rfork_thread(3): Mark deprecated in favor of pthread_create(3). Modified: head/lib/libc/gen/rfork_thread.3 Modified: head/lib/libc/gen/rfork_thread.3 ============================================================================== --- head/lib/libc/gen/rfork_thread.3 Sun Feb 6 22:46:07 2011 (r218384) +++ head/lib/libc/gen/rfork_thread.3 Sun Feb 6 23:26:14 2011 (r218385) @@ -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