Module Name: src Committed By: wiz Date: Mon Aug 1 14:22:32 UTC 2022
Modified Files: src/lib/libc/sys: clone.2 Log Message: clone(2): document that _GNU_SOURCE must be defined for the prototypes To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/sys/clone.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/sys/clone.2 diff -u src/lib/libc/sys/clone.2:1.14 src/lib/libc/sys/clone.2:1.15 --- src/lib/libc/sys/clone.2:1.14 Tue May 12 11:39:08 2020 +++ src/lib/libc/sys/clone.2 Mon Aug 1 14:22:32 2022 @@ -1,4 +1,4 @@ -.\" $NetBSD: clone.2,v 1.14 2020/05/12 11:39:08 kamil Exp $ +.\" $NetBSD: clone.2,v 1.15 2022/08/01 14:22:32 wiz Exp $ .\" .\" Copyright (c) 2001 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd May 12, 2020 +.Dd August 1, 2022 .Dt CLONE 2 .Os .Sh NAME @@ -37,6 +37,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS +.Fd #define _GNU_SOURCE .In sched.h .Ft pid_t .Fn clone "int (*func)(void *arg)" "void *stack" "int flags" "void *arg"