summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/execve.23
-rw-r--r--lib/libc/sys/getgid.22
-rw-r--r--lib/libc/sys/getpid.22
-rw-r--r--lib/libc/sys/getrlimit.23
-rw-r--r--lib/libc/sys/getsockopt.26
-rw-r--r--lib/libc/sys/listen.26
-rw-r--r--lib/libc/sys/mmap.24
-rw-r--r--lib/libc/sys/munmap.24
-rw-r--r--lib/libc/sys/rtprio.26
-rw-r--r--lib/libc/sys/setsid.22
-rw-r--r--lib/libc/sys/wait.29
11 files changed, 25 insertions, 22 deletions
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2
index 2bfb0a2..8375d68 100644
--- a/lib/libc/sys/execve.2
+++ b/lib/libc/sys/execve.2
@@ -267,9 +267,10 @@ the real
is ``root'', then the program has some of the powers
of a super-user as well.
.Sh SEE ALSO
-.Xr exit 2 ,
+.Xr _exit 2 ,
.Xr fork 2 ,
.Xr execl 3 ,
+.Xr exit 3 ,
.Xr environ 7
.Sh HISTORY
The
diff --git a/lib/libc/sys/getgid.2 b/lib/libc/sys/getgid.2
index 52519d7..574c15a 100644
--- a/lib/libc/sys/getgid.2
+++ b/lib/libc/sys/getgid.2
@@ -70,7 +70,7 @@ indicate an error.
.Sh SEE ALSO
.Xr getuid 2 ,
.Xr setregid 2 ,
-.Xr setgid 3
+.Xr setgid 2
.Sh STANDARDS
.Fn Getgid
and
diff --git a/lib/libc/sys/getpid.2 b/lib/libc/sys/getpid.2
index 5f77706..22f9257 100644
--- a/lib/libc/sys/getpid.2
+++ b/lib/libc/sys/getpid.2
@@ -63,7 +63,7 @@ and
functions are always successful, and no return value is reserved to
indicate an error.
.Sh SEE ALSO
-.Xr gethostid 2
+.Xr gethostid 3
.Sh STANDARDS
.Fn Getpid
and
diff --git a/lib/libc/sys/getrlimit.2 b/lib/libc/sys/getrlimit.2
index 4ef3258..33c3ddd 100644
--- a/lib/libc/sys/getrlimit.2
+++ b/lib/libc/sys/getrlimit.2
@@ -171,7 +171,8 @@ raised the maximum limit value, and the caller is not the super-user.
.El
.Sh SEE ALSO
.Xr csh 1 ,
-.Xr quota 2 ,
+.Xr quota 1 ,
+.Xr quotactl 2 ,
.Xr sigaltstack 2 ,
.Xr sigvec 2 ,
.Xr sysctl 3
diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2
index e2ec257..ee0ab72 100644
--- a/lib/libc/sys/getsockopt.2
+++ b/lib/libc/sys/getsockopt.2
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)getsockopt.2 8.3 (Berkeley) 4/19/94
-.\" $Id: getsockopt.2,v 1.2 1995/11/03 18:34:36 wollman Exp $
+.\" $Id: getsockopt.2,v 1.3 1996/01/22 00:01:59 julian Exp $
.\"
.Dd November 3, 1995
.Dt GETSOCKOPT 2
@@ -382,12 +382,12 @@ this error may also be returned if
is not in a valid part of the process address space.
.El
.Sh SEE ALSO
-.Xr sysctl 1 ,
.Xr ioctl 2 ,
.Xr socket 2 ,
.Xr getprotoent 3 ,
.Xr sysctl 3 ,
-.Xr protocols 5
+.Xr protocols 5 ,
+.Xr sysctl 8
.Sh BUGS
Several of the socket options should be handled at lower levels of the system.
.Sh HISTORY
diff --git a/lib/libc/sys/listen.2 b/lib/libc/sys/listen.2
index 6d2a64f..d9b31ec 100644
--- a/lib/libc/sys/listen.2
+++ b/lib/libc/sys/listen.2
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" From: @(#)listen.2 8.2 (Berkeley) 12/11/93
-.\" $Id: listen.2,v 1.3 1995/11/03 18:34:38 wollman Exp $
+.\" $Id: listen.2,v 1.4 1996/01/22 00:02:02 julian Exp $
.\"
.Dd November 3, 1995
.Dt LISTEN 2
@@ -123,11 +123,11 @@ The socket is not of a type that supports the operation
.Fn listen .
.El
.Sh SEE ALSO
-.Xr sysctl 1 ,
.Xr accept 2 ,
.Xr connect 2 ,
.Xr socket 2 ,
-.Xr sysctl 3
+.Xr sysctl 3 ,
+.Xr sysctl 8
.Sh HISTORY
The
.Nm
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2
index 2ca868e..88684de 100644
--- a/lib/libc/sys/mmap.2
+++ b/lib/libc/sys/mmap.2
@@ -202,14 +202,14 @@ parameter wasn't available.
.Dv MAP_ANON
was specified and insufficient memory was available.
.Sh "SEE ALSO"
-.Xr getpagesize 2 ,
.Xr msync 2 ,
.Xr munmap 2 ,
.Xr mprotect 2 ,
.Xr madvise 2 ,
.Xr mincore 2 ,
.Xr mlock 2 ,
-.Xr munlock 2
+.Xr munlock 2 ,
+.Xr getpagesize 3
.Sh BUGS
.Ar len
diff --git a/lib/libc/sys/munmap.2 b/lib/libc/sys/munmap.2
index d62ff37..5d14016 100644
--- a/lib/libc/sys/munmap.2
+++ b/lib/libc/sys/munmap.2
@@ -68,12 +68,12 @@ parameter was negative, or
some part of the region being unmapped is not part of the currently
valid address space.
.Sh "SEE ALSO"
-.Xr getpagesize 2 ,
.Xr msync 2 ,
.Xr munmap 2 ,
.Xr mprotect 2 ,
.Xr madvise 2 ,
-.Xr mincore 2
+.Xr mincore 2 ,
+.Xr getpagesize 3
.Sh HISTORY
The
.Fn munmap
diff --git a/lib/libc/sys/rtprio.2 b/lib/libc/sys/rtprio.2
index c9957fd..7926e92 100644
--- a/lib/libc/sys/rtprio.2
+++ b/lib/libc/sys/rtprio.2
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: $
+.\" $Id: rtprio.2,v 1.3 1995/08/05 07:31:19 bde Exp $
.\"
.Dd July 23, 1994
.Dt RTPRIO 2
@@ -101,6 +101,6 @@ implementation in FreeBSD was substantially rewritten by David Greenman.
.Xr rtprio 1 ,
.Xr nice 1 ,
.Xr ps 1 ,
-.Xr nice 2 ,
+.Xr setpriority 2 ,
+.Xr nice 3 ,
.Xr renice 8
-
diff --git a/lib/libc/sys/setsid.2 b/lib/libc/sys/setsid.2
index 48ac6a0..404b1b8 100644
--- a/lib/libc/sys/setsid.2
+++ b/lib/libc/sys/setsid.2
@@ -68,7 +68,7 @@ group ID of a process other than the calling process matches the process
ID of the calling process.
.El
.Sh SEE ALSO
-.Xr setpgid 3 ,
+.Xr setpgid 2 ,
.Xr tcgetpgrp 3 ,
.Xr tcsetpgrp 3
.Sh STANDARDS
diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2
index c0077b1..cd9ab62 100644
--- a/lib/libc/sys/wait.2
+++ b/lib/libc/sys/wait.2
@@ -156,7 +156,7 @@ One of the first three macros will evaluate to a non-zero (true) value:
True if the process terminated normally by a call to
.Xr _exit 2
or
-.Xr exit 2 .
+.Xr exit 3 .
.It Fn WIFSIGNALED status
True if the process terminated due to receipt of a signal.
.It Fn WIFSTOPPED status
@@ -178,7 +178,7 @@ is true, evaluates to the low-order 8 bits
of the argument passed to
.Xr _exit 2
or
-.Xr exit 2
+.Xr exit 3
by the child.
.It Fn WTERMSIG status
If
@@ -287,8 +287,9 @@ and the ability to restart a pending
.Fn wait
call are extensions to the POSIX interface.
.Sh SEE ALSO
-.Xr exit 2 ,
-.Xr sigaction 2
+.Xr _exit 2 ,
+.Xr sigaction 2 ,
+.Xr exit 3
.Sh HISTORY
A
.Nm
OpenPOWER on IntegriCloud