Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys Sort sections, sort SEE ALSO, punctuation and m...
details: https://anonhg.NetBSD.org/src/rev/7a4ed99390c4
branches: trunk
changeset: 515032:7a4ed99390c4
user: wiz <wiz%NetBSD.org@localhost>
date: Sun Sep 16 02:13:26 2001 +0000
description:
Sort sections, sort SEE ALSO, punctuation and miscellanous fixes.
diffstat:
lib/libc/sys/_exit.2 | 4 +-
lib/libc/sys/accept.2 | 4 +-
lib/libc/sys/access.2 | 6 ++--
lib/libc/sys/bind.2 | 6 ++--
lib/libc/sys/brk.2 | 12 ++++----
lib/libc/sys/chdir.2 | 3 +-
lib/libc/sys/clock_settime.2 | 4 +-
lib/libc/sys/clone.2 | 21 +++++++++-------
lib/libc/sys/connect.2 | 8 +++---
lib/libc/sys/dup.2 | 4 +-
lib/libc/sys/execve.2 | 24 ++++++++++--------
lib/libc/sys/fcntl.2 | 6 ++--
lib/libc/sys/fdatasync.2 | 3 +-
lib/libc/sys/fhopen.2 | 10 ++++----
lib/libc/sys/flock.2 | 6 ++--
lib/libc/sys/getdents.2 | 6 ++--
lib/libc/sys/getdirentries.3 | 6 ++--
lib/libc/sys/getfsstat.2 | 4 +-
lib/libc/sys/getitimer.2 | 6 ++--
lib/libc/sys/getlogin.2 | 12 ++++----
lib/libc/sys/getrusage.2 | 8 +++---
lib/libc/sys/getsockname.2 | 12 ++++----
lib/libc/sys/getsockopt.2 | 14 +++++-----
lib/libc/sys/gettimeofday.2 | 4 +-
lib/libc/sys/ioctl.2 | 6 ++--
lib/libc/sys/kill.2 | 4 +-
lib/libc/sys/ktrace.2 | 8 +++---
lib/libc/sys/lfs_bmapv.2 | 8 +++---
lib/libc/sys/lfs_markv.2 | 25 +++++++++----------
lib/libc/sys/lfs_segclean.2 | 6 ++--
lib/libc/sys/lfs_segwait.2 | 6 ++--
lib/libc/sys/link.2 | 4 +-
lib/libc/sys/listen.2 | 12 ++++----
lib/libc/sys/lseek.2 | 10 ++++----
lib/libc/sys/minherit.2 | 14 +++++-----
lib/libc/sys/mknod.2 | 4 +-
lib/libc/sys/mount.2 | 6 ++--
lib/libc/sys/msgget.2 | 8 +++---
lib/libc/sys/msync.2 | 11 ++++----
lib/libc/sys/nanosleep.2 | 4 +-
lib/libc/sys/nfssvc.2 | 6 ++--
lib/libc/sys/open.2 | 6 ++--
lib/libc/sys/pathconf.2 | 3 +-
lib/libc/sys/pipe.2 | 8 +++---
lib/libc/sys/poll.2 | 12 ++++----
lib/libc/sys/profil.2 | 4 +-
lib/libc/sys/ptrace.2 | 6 +---
lib/libc/sys/quotactl.2 | 12 ++++----
lib/libc/sys/read.2 | 3 +-
lib/libc/sys/readlink.2 | 4 +-
lib/libc/sys/recv.2 | 9 +++----
lib/libc/sys/rename.2 | 54 ++++++++++++++++++++++----------------------
lib/libc/sys/select.2 | 12 ++++----
lib/libc/sys/semctl.2 | 4 +-
lib/libc/sys/semget.2 | 10 ++++----
lib/libc/sys/send.2 | 4 +-
lib/libc/sys/setregid.2 | 4 +-
lib/libc/sys/setreuid.2 | 8 +++---
lib/libc/sys/setuid.2 | 7 ++---
lib/libc/sys/shmctl.2 | 4 +-
lib/libc/sys/shmget.2 | 8 +++---
lib/libc/sys/sigaction.2 | 28 +++++++++++-----------
lib/libc/sys/sigsuspend.2 | 4 +-
lib/libc/sys/socket.2 | 8 +++---
lib/libc/sys/socketpair.2 | 10 ++++----
lib/libc/sys/stat.2 | 16 ++++++------
lib/libc/sys/swapctl.2 | 14 +++++-----
lib/libc/sys/swapon.3 | 6 ++--
lib/libc/sys/sync.2 | 8 +++---
lib/libc/sys/sysarch.2 | 3 +-
lib/libc/sys/syscall.2 | 12 ++++----
lib/libc/sys/truncate.2 | 10 ++++----
lib/libc/sys/utrace.2 | 4 +-
lib/libc/sys/vfork.2 | 29 +++++++++++++----------
lib/libc/sys/wait.2 | 8 +++---
75 files changed, 337 insertions(+), 340 deletions(-)
diffs (truncated from 2037 to 300 lines):
diff -r bc532670b16e -r 7a4ed99390c4 lib/libc/sys/_exit.2
--- a/lib/libc/sys/_exit.2 Sun Sep 16 02:09:47 2001 +0000
+++ b/lib/libc/sys/_exit.2 Sun Sep 16 02:13:26 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: _exit.2,v 1.11 1999/12/02 21:42:35 kleink Exp $
+.\" $NetBSD: _exit.2,v 1.12 2001/09/16 02:13:26 wiz Exp $
.\"
.\" Copyright (c) 1980, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -100,7 +100,7 @@
before
calling
.Fn _exit .
-.Sh RETURN VALUE
+.Sh RETURN VALUES
.Fn _exit
can never return.
.Sh SEE ALSO
diff -r bc532670b16e -r 7a4ed99390c4 lib/libc/sys/accept.2
--- a/lib/libc/sys/accept.2 Sun Sep 16 02:09:47 2001 +0000
+++ b/lib/libc/sys/accept.2 Sun Sep 16 02:13:26 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: accept.2,v 1.16 2001/09/16 01:38:59 wiz Exp $
+.\" $NetBSD: accept.2,v 1.17 2001/09/16 02:13:26 wiz Exp $
.\"
.\" Copyright (c) 1983, 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -149,7 +149,7 @@
The socket has not been set up to accept connections (using
.Xr bind 2
and
-.Xr listen 2 ).
+.Xr listen 2 ) .
.It Bq Er ENOTSOCK
The descriptor references a file, not a socket.
.It Bq Er EOPNOTSUPP
diff -r bc532670b16e -r 7a4ed99390c4 lib/libc/sys/access.2
--- a/lib/libc/sys/access.2 Sun Sep 16 02:09:47 2001 +0000
+++ b/lib/libc/sys/access.2 Sun Sep 16 02:13:26 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: access.2,v 1.14 2001/09/16 01:38:59 wiz Exp $
+.\" $NetBSD: access.2,v 1.15 2001/09/16 02:13:26 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -83,7 +83,7 @@
.Dv X_OK ,
at least one of the user, group, or other execute bits is set.
(However, the file may still not be executable. See
-.Xr execve 2 .)
+.Xr execve 2 . )
.Sh RETURN VALUES
If
.Fa path
@@ -134,7 +134,7 @@
.Fn access
function conforms to
.St -p1003.1-90 .
-.Sh CAVEAT
+.Sh BUGS
.Fn access
is a potential security hole and
should never be used.
diff -r bc532670b16e -r 7a4ed99390c4 lib/libc/sys/bind.2
--- a/lib/libc/sys/bind.2 Sun Sep 16 02:09:47 2001 +0000
+++ b/lib/libc/sys/bind.2 Sun Sep 16 02:13:26 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: bind.2,v 1.16 2001/09/16 01:38:59 wiz Exp $
+.\" $NetBSD: bind.2,v 1.17 2001/09/16 02:13:27 wiz Exp $
.\"
.\" Copyright (c) 1983, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -129,9 +129,9 @@
.El
.Sh SEE ALSO
.Xr connect 2 ,
+.Xr getsockname 2 ,
.Xr listen 2 ,
-.Xr socket 2 ,
-.Xr getsockname 2
+.Xr socket 2
.Sh HISTORY
The
.Fn bind
diff -r bc532670b16e -r 7a4ed99390c4 lib/libc/sys/brk.2
--- a/lib/libc/sys/brk.2 Sun Sep 16 02:09:47 2001 +0000
+++ b/lib/libc/sys/brk.2 Sun Sep 16 02:13:26 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: brk.2,v 1.25 2001/09/16 01:38:59 wiz Exp $
+.\" $NetBSD: brk.2,v 1.26 2001/09/16 02:13:27 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -153,6 +153,11 @@
.Xr free 3 ,
.Xr malloc 3 ,
.Xr sysconf 3
+.Sh HISTORY
+A
+.Fn brk
+function call appeared in
+.At v7 .
.Sh BUGS
Note that
mixing
@@ -169,8 +174,3 @@
It is not possible to distinguish this from a failure caused by
exceeding the maximum size of the data segment without consulting
.Xr getrlimit 2 .
-.Sh HISTORY
-A
-.Fn brk
-function call appeared in
-.At v7 .
diff -r bc532670b16e -r 7a4ed99390c4 lib/libc/sys/chdir.2
--- a/lib/libc/sys/chdir.2 Sun Sep 16 02:09:47 2001 +0000
+++ b/lib/libc/sys/chdir.2 Sun Sep 16 02:13:26 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: chdir.2,v 1.14 2001/09/16 01:39:00 wiz Exp $
+.\" $NetBSD: chdir.2,v 1.15 2001/09/16 02:13:27 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -138,4 +138,3 @@
function call
appeared in
.Bx 4.2 .
-
diff -r bc532670b16e -r 7a4ed99390c4 lib/libc/sys/clock_settime.2
--- a/lib/libc/sys/clock_settime.2 Sun Sep 16 02:09:47 2001 +0000
+++ b/lib/libc/sys/clock_settime.2 Sun Sep 16 02:13:26 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: clock_settime.2,v 1.6 2001/09/16 01:39:00 wiz Exp $
+.\" $NetBSD: clock_settime.2,v 1.7 2001/09/16 02:13:27 wiz Exp $
.\"
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -70,7 +70,7 @@
function stores the time of the clock identified by
.Fa clock_id
into the location specified by
-.Fa tp.
+.Fa tp .
.Pp
The
.Fn clock_getres
diff -r bc532670b16e -r 7a4ed99390c4 lib/libc/sys/clone.2
--- a/lib/libc/sys/clone.2 Sun Sep 16 02:09:47 2001 +0000
+++ b/lib/libc/sys/clone.2 Sun Sep 16 02:13:26 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: clone.2,v 1.4 2001/09/16 01:39:00 wiz Exp $
+.\" $NetBSD: clone.2,v 1.5 2001/09/16 02:13:27 wiz Exp $
.\"
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -138,18 +138,27 @@
applications. It is provided as a means to port software
originally written for the Linux operating system to
.Nx .
-.Sh RETURN VALUES and ERRORS
+.Sh RETURN VALUES
+Same as for
+.Xr fork 2 .
+.Sh ERRORS
Same as for
.Xr fork 2 .
.Sh SEE ALSO
.Xr chdir 2 ,
.Xr chroot 2 ,
.Xr fork 2 ,
-.Xr vfork 2 ,
.Xr sigaction 2 ,
.Xr sigprocmask 2 ,
.Xr umask 2 ,
+.Xr vfork 2 ,
.Xr wait 2
+.Sh HISTORY
+The
+.Fn clone
+function call appeared in
+.Nx 1.6 .
+It is compatible with the Linux function call of the same name.
.Sh BUGS
The
.Nx
@@ -166,9 +175,3 @@
does not implement the
.Dv CLONE_PTRACE
option that is present in the Linux implementation.
-.Sh HISTORY
-The
-.Fn clone
-function call appeared in
-.Nx 1.6 .
-It is compatible with the Linux function call of the same name.
diff -r bc532670b16e -r 7a4ed99390c4 lib/libc/sys/connect.2
--- a/lib/libc/sys/connect.2 Sun Sep 16 02:09:47 2001 +0000
+++ b/lib/libc/sys/connect.2 Sun Sep 16 02:13:26 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: connect.2,v 1.17 2000/06/17 19:33:34 hubertf Exp $
+.\" $NetBSD: connect.2,v 1.18 2001/09/16 02:13:27 wiz Exp $
.\"
.\" Copyright (c) 1983, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -154,11 +154,11 @@
.El
.Sh SEE ALSO
.Xr accept 2 ,
+.Xr getsockname 2 ,
+.Xr getsockopt 2 ,
.Xr poll 2 ,
.Xr select 2 ,
-.Xr socket 2 ,
-.Xr getsockname 2 ,
-.Xr getsockopt 2
+.Xr socket 2
.Sh HISTORY
The
.Fn connect
diff -r bc532670b16e -r 7a4ed99390c4 lib/libc/sys/dup.2
--- a/lib/libc/sys/dup.2 Sun Sep 16 02:09:47 2001 +0000
+++ b/lib/libc/sys/dup.2 Sun Sep 16 02:13:26 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: dup.2,v 1.11 2001/09/16 01:39:00 wiz Exp $
+.\" $NetBSD: dup.2,v 1.12 2001/09/16 02:13:27 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -120,9 +120,9 @@
.El
.Sh SEE ALSO
.Xr accept 2 ,
-.Xr open 2 ,
.Xr close 2 ,
.Xr fcntl 2 ,
+.Xr open 2 ,
.Xr pipe 2 ,
.Xr socket 2 ,
.Xr socketpair 2 ,
diff -r bc532670b16e -r 7a4ed99390c4 lib/libc/sys/execve.2
--- a/lib/libc/sys/execve.2 Sun Sep 16 02:09:47 2001 +0000
+++ b/lib/libc/sys/execve.2 Sun Sep 16 02:13:26 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: execve.2,v 1.20 2001/09/16 01:39:00 wiz Exp $
+.\" $NetBSD: execve.2,v 1.21 2001/09/16 02:13:27 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -112,7 +112,7 @@
is also a pointer to a null-terminated array of
character pointers to null-terminated strings.
A pointer to this array is normally stored in the global variable
-.Va environ.
+.Va environ .
These strings pass information to the
new process that is not directly an argument to the command (see
.Xr environ 7 ) .
@@ -186,7 +186,8 @@
.Fa argc
is the number of elements in
.Fa argv
-(the ``arg count'')
+(the
+.Dq arg count )
and
.Fa argv
points to the array of character pointers
@@ -259,14 +260,6 @@
.It Bq Er EIO
An I/O error occurred while reading from the file system.
.El
-.Sh CAVEAT
-If a program is
-.Em setuid
-to a non-super-user, but is executed when
-the real
-.Em uid
-is ``root'', then the program has some of the powers
-of a super-user as well.
.Sh SEE ALSO
.Xr _exit 2 ,
.Xr fork 2 ,
@@ -282,3 +275,12 @@
.Fn execve
function call appeared in
.Bx 4.2 .
+.Sh BUGS
+If a program is
+.Em setuid
+to a non-super-user, but is executed when
+the real
+.Em uid
+is
+.Dq root ,
+then the program has some of the powers of a super-user as well.
diff -r bc532670b16e -r 7a4ed99390c4 lib/libc/sys/fcntl.2
--- a/lib/libc/sys/fcntl.2 Sun Sep 16 02:09:47 2001 +0000
+++ b/lib/libc/sys/fcntl.2 Sun Sep 16 02:13:26 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: fcntl.2,v 1.20 2001/09/16 01:39:00 wiz Exp $
Home |
Main Index |
Thread Index |
Old Index