Source-Changes-HG archive

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

[src/trunk]: src/lib/libc Mention POSIX conformance of some functions, when t...



details:   https://anonhg.NetBSD.org/src/rev/091f79272c0c
branches:  trunk
changeset: 770405:091f79272c0c
user:      rmind <rmind%NetBSD.org@localhost>
date:      Sat Oct 15 21:35:49 2011 +0000

description:
Mention POSIX conformance of some functions, when they appeared, sprinkle .Xr.

diffstat:

 lib/libc/gen/directory.3   |   8 ++++++--
 lib/libc/gen/lockf.3       |  16 ++++++++++++----
 lib/libc/stdio/flockfile.3 |  11 +++++++++--
 lib/libc/stdlib/random.3   |  13 +++++++++++--
 lib/libc/sys/flock.2       |   8 +++++---
 lib/libc/sys/msync.2       |   7 ++++++-
 lib/libc/sys/munmap.2      |   7 ++++++-
 7 files changed, 55 insertions(+), 15 deletions(-)

diffs (207 lines):

diff -r fe325c3419c7 -r 091f79272c0c lib/libc/gen/directory.3
--- a/lib/libc/gen/directory.3  Sat Oct 15 21:31:27 2011 +0000
+++ b/lib/libc/gen/directory.3  Sat Oct 15 21:35:49 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: directory.3,v 1.36 2010/12/17 19:20:42 njoly Exp $
+.\"    $NetBSD: directory.3,v 1.37 2011/10/15 21:35:49 rmind Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)directory.3        8.1 (Berkeley) 6/4/93
 .\"
-.Dd June 4, 2010
+.Dd October 15, 2011
 .Dt DIRECTORY 3
 .Os
 .Sh NAME
@@ -393,3 +393,7 @@
 .Fn dirfd
 functions appeared in
 .Bx 4.2 .
+The
+.Fn fdopendir
+function appeared in
+.Nx 6.0 .
diff -r fe325c3419c7 -r 091f79272c0c lib/libc/gen/lockf.3
--- a/lib/libc/gen/lockf.3      Sat Oct 15 21:31:27 2011 +0000
+++ b/lib/libc/gen/lockf.3      Sat Oct 15 21:35:49 2011 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: lockf.3,v 1.11 2011/03/30 16:37:09 jruoho Exp $
+.\" $NetBSD: lockf.3,v 1.12 2011/10/15 21:35:49 rmind Exp $
 .\"
 .\" Copyright (c) 1997 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 March 30, 2011
+.Dd October 15, 2011
 .Dt LOCKF 3
 .Os
 .Sh NAME
@@ -246,9 +246,17 @@
 .El
 .Sh SEE ALSO
 .Xr fcntl 2 ,
-.Xr flock 2
+.Xr flock 2 ,
+.Xr flockfile 3
 .Sh STANDARDS
 The
 .Fn lockf
 function conforms to
-.St -xpg4.2 .
+.St -xpg4.2
+and
+.St -p1003.1-2008 .
+.Sh HISTORY
+The
+.Fn lockf
+function first appeared in
+.Fx 1.4 .
diff -r fe325c3419c7 -r 091f79272c0c lib/libc/stdio/flockfile.3
--- a/lib/libc/stdio/flockfile.3        Sat Oct 15 21:31:27 2011 +0000
+++ b/lib/libc/stdio/flockfile.3        Sat Oct 15 21:35:49 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: flockfile.3,v 1.4 2008/04/30 13:10:51 martin Exp $
+.\"    $NetBSD: flockfile.3,v 1.5 2011/10/15 21:35:49 rmind Exp $
 .\"
 .\" Copyright (c) 2003 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 January 28, 2003
+.Dd October 15, 2011
 .Dt FLOCKFILE 3
 .Os
 .Sh NAME
@@ -103,8 +103,10 @@
 function returns 0.
 Otherwise, it returns non-zero to indicate that the lock cannot be acquired.
 .Sh SEE ALSO
+.Xr flock 2 ,
 .Xr getc_unlocked 3 ,
 .Xr getchar_unlocked 3 ,
+.Xr lockf 3 ,
 .Xr putc_unlocked 3 ,
 .Xr putchar_unlocked 3
 .Sh STANDARDS
@@ -118,3 +120,8 @@
 .Sh BUGS
 The design of these interfaces does not allow for addressing the
 problem of priority inversion.
+.Sh HISTORY
+The
+.Fn flockfile
+function first appeared in
+.Fx 2.0 .
diff -r fe325c3419c7 -r 091f79272c0c lib/libc/stdlib/random.3
--- a/lib/libc/stdlib/random.3  Sat Oct 15 21:31:27 2011 +0000
+++ b/lib/libc/stdlib/random.3  Sat Oct 15 21:35:49 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: random.3,v 1.19 2008/02/28 16:16:35 christos Exp $
+.\"    $NetBSD: random.3,v 1.20 2011/10/15 21:35:49 rmind Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     from: @(#)random.3     8.1 (Berkeley) 6/4/93
 .\"
-.Dd February 28, 2008
+.Dd October 15, 2011
 .Dt RANDOM 3
 .Os
 .Sh NAME
@@ -171,6 +171,15 @@
 .Xr srand 3 ,
 .Xr rnd 4 ,
 .Xr rnd 9
+.Sh STANDARDS
+The
+.Fn random ,
+.Fn srandom ,
+.Fn initstate
+and
+.Fn setstate
+functions conform to
+.St -p1003.1-2008 .
 .Sh HISTORY
 These
 functions appeared in
diff -r fe325c3419c7 -r 091f79272c0c lib/libc/sys/flock.2
--- a/lib/libc/sys/flock.2      Sat Oct 15 21:31:27 2011 +0000
+++ b/lib/libc/sys/flock.2      Sat Oct 15 21:35:49 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: flock.2,v 1.21 2009/10/29 01:52:01 wiz Exp $
+.\"    $NetBSD: flock.2,v 1.22 2011/10/15 21:35:50 rmind Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)flock.2    8.2 (Berkeley) 12/11/93
 .\"
-.Dd October 26, 2009
+.Dd October 15, 2011
 .Dt FLOCK 2
 .Os
 .Sh NAME
@@ -147,7 +147,9 @@
 .Xr dup 2 ,
 .Xr execve 2 ,
 .Xr fork 2 ,
-.Xr open 2
+.Xr open 2 ,
+.Xr flockfile 3 ,
+.Xr lockf 3
 .Sh HISTORY
 The
 .Fn flock
diff -r fe325c3419c7 -r 091f79272c0c lib/libc/sys/msync.2
--- a/lib/libc/sys/msync.2      Sat Oct 15 21:31:27 2011 +0000
+++ b/lib/libc/sys/msync.2      Sat Oct 15 21:35:49 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: msync.2,v 1.23 2005/10/18 03:18:16 chs Exp $
+.\"    $NetBSD: msync.2,v 1.24 2011/10/15 21:35:50 rmind Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -120,6 +120,11 @@
 .Xr mlock 2 ,
 .Xr mmap 2 ,
 .Xr munlock 2
+.Sh STANDARDS
+The
+.Fn msync
+function conforms to
+.St -p1003.1b-93
 .Sh HISTORY
 The
 .Fn msync
diff -r fe325c3419c7 -r 091f79272c0c lib/libc/sys/munmap.2
--- a/lib/libc/sys/munmap.2     Sat Oct 15 21:31:27 2011 +0000
+++ b/lib/libc/sys/munmap.2     Sat Oct 15 21:35:49 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: munmap.2,v 1.19 2004/05/13 10:20:58 wiz Exp $
+.\"    $NetBSD: munmap.2,v 1.20 2011/10/15 21:35:50 rmind Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -76,6 +76,11 @@
 .Xr mprotect 2 ,
 .Xr msync 2 ,
 .Xr getpagesize 3
+.Sh STANDARDS
+The
+.Fn munmap
+function conforms to
+.St -p1003.1b-93 .
 .Sh HISTORY
 The
 .Fn munmap



Home | Main Index | Thread Index | Old Index