Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys clone(2): document that _GNU_SOURCE must be def...



details:   https://anonhg.NetBSD.org/src/rev/8792b256c40a
branches:  trunk
changeset: 368749:8792b256c40a
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Aug 01 14:22:32 2022 +0000

description:
clone(2): document that _GNU_SOURCE must be defined for the prototypes

diffstat:

 lib/libc/sys/clone.2 |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 2d60232092bd -r 8792b256c40a lib/libc/sys/clone.2
--- a/lib/libc/sys/clone.2      Mon Aug 01 14:19:40 2022 +0000
+++ b/lib/libc/sys/clone.2      Mon Aug 01 14:22:32 2022 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index