Source-Changes-HG archive

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

[src/trunk]: src P1003_1B_SEMAPHORE is no longer optional



details:   https://anonhg.NetBSD.org/src/rev/c10d4256478c
branches:  trunk
changeset: 340018:c10d4256478c
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Thu Aug 20 10:42:09 2015 +0000

description:
P1003_1B_SEMAPHORE is no longer optional

diffstat:

 lib/libc/gen/sysconf.3   |   8 +-------
 share/man/man4/options.4 |   7 +------
 share/man/man4/sem.4     |  12 ++++++------
 3 files changed, 8 insertions(+), 19 deletions(-)

diffs (73 lines):

diff -r 5843cf6ba299 -r c10d4256478c lib/libc/gen/sysconf.3
--- a/lib/libc/gen/sysconf.3    Thu Aug 20 10:06:20 2015 +0000
+++ b/lib/libc/gen/sysconf.3    Thu Aug 20 10:42:09 2015 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: sysconf.3,v 1.42 2012/11/03 00:52:41 wiz Exp $
+.\"    $NetBSD: sysconf.3,v 1.43 2015/08/20 10:44:44 pgoyette Exp $
 .\"
 .\" Copyright (c) 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -149,12 +149,6 @@
 Semaphores
 option to which the system attempts to conform,
 otherwise \-1.
-.Pp
-Availability of the
-Semaphores
-option depends on the
-.Li P1003_1B_SEMAPHORE
-kernel option.
 .It Li _SC_SHELL
 Return 1 if
 .Tn POSIX
diff -r 5843cf6ba299 -r c10d4256478c share/man/man4/options.4
--- a/share/man/man4/options.4  Thu Aug 20 10:06:20 2015 +0000
+++ b/share/man/man4/options.4  Thu Aug 20 10:42:09 2015 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: options.4,v 1.447 2015/08/07 07:34:56 maxv Exp $
+.\"    $NetBSD: options.4,v 1.448 2015/08/20 10:42:09 pgoyette Exp $
 .\"
 .\" Copyright (c) 1996
 .\"    Perry E. Metzger.  All rights reserved.
@@ -495,11 +495,6 @@
 unknown ELF binaries as if they were
 .Nx
 binaries.
-.It Cd options P1003_1B_SEMAPHORE
-Includes kernel support for the standard C library
-.Pq libc
-functions that implement semaphores as specified in
-.St -p1003.1-96 .
 .El
 .Ss Debugging Options
 .Bl -ohang
diff -r 5843cf6ba299 -r c10d4256478c share/man/man4/sem.4
--- a/share/man/man4/sem.4      Thu Aug 20 10:06:20 2015 +0000
+++ b/share/man/man4/sem.4      Thu Aug 20 10:42:09 2015 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: sem.4,v 1.4 2013/03/01 18:39:52 joerg Exp $
+.\" $NetBSD: sem.4,v 1.5 2015/08/20 10:42:09 pgoyette Exp $
 .\"
 .\" Copyright (c) 2002 Tim J. Robbins
 .\" All rights reserved.
@@ -33,10 +33,7 @@
 .Nm sem
 .Nd POSIX semaphores
 .Sh SYNOPSIS
-To link into the kernel:
-.Bd -ragged -offset indent
-.Cd "options P1003_1B_SEMAPHORE"
-.Ed
+The POSIX semaphore code is included by default in all kernels.
 .Sh DESCRIPTION
 The
 .Nm
@@ -58,4 +55,7 @@
 The
 .Nm
 facility appeared as a kernel option in
-.Nx 2.0 .
+.Nx 2.0
+and became non-optional in
+.Nx 7.0 .
+



Home | Main Index | Thread Index | Old Index