summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1998-02-17 19:48:19 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1998-02-17 19:48:19 +0000
commit302c9157a92e70b38d02637acb73e1063f35ad46 (patch)
treec2c6c58e913fdd2e648cf4b71d43b603f11307ba /lib/libc/sys
parent20021e11c7b0857ec39b1858030bf900f5073545 (diff)
Notes
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/sigprocmask.21
-rw-r--r--lib/libc/sys/socket.29
-rw-r--r--lib/libc/sys/syscall.26
-rw-r--r--lib/libc/sys/truncate.c4
-rw-r--r--lib/libc/sys/vfork.26
-rw-r--r--lib/libc/sys/wait.21
6 files changed, 17 insertions, 10 deletions
diff --git a/lib/libc/sys/sigprocmask.2 b/lib/libc/sys/sigprocmask.2
index af1b574ded97..ee47585e9ac2 100644
--- a/lib/libc/sys/sigprocmask.2
+++ b/lib/libc/sys/sigprocmask.2
@@ -111,6 +111,7 @@ has a value other than those listed here.
.Xr kill 2 ,
.Xr sigaction 2 ,
.Xr sigsuspend 2 ,
+.Xr fpsetmask 3 ,
.Xr sigsetops 3
.Sh STANDARDS
The
diff --git a/lib/libc/sys/socket.2 b/lib/libc/sys/socket.2
index ac89833572a1..79f3154dd05a 100644
--- a/lib/libc/sys/socket.2
+++ b/lib/libc/sys/socket.2
@@ -30,9 +30,9 @@
.\" SUCH DAMAGE.
.\"
.\" From: @(#)socket.2 8.1 (Berkeley) 6/4/93
-.\" $Id: socket.2,v 1.7 1997/03/24 01:22:01 jmg Exp $
+.\" $Id: socket.2,v 1.3.2.2 1997/03/25 02:49:27 mpp Exp $
.\"
-.Dd February 15, 1995
+.Dd November 24, 1997
.Dt SOCKET 2
.Os BSD 4.2
.Sh NAME
@@ -230,7 +230,7 @@ within this domain.
The per-process descriptor table is full.
.It Bq Er ENFILE
The system file table is full.
-.It Bq Er EACCESS
+.It Bq Er EACCES
Permission to create a socket of the specified type and/or protocol
is denied.
.It Bq Er ENOBUFS
@@ -253,7 +253,8 @@ The socket cannot be created until sufficient resources are freed.
.Xr shutdown 2 ,
.Xr socketpair 2 ,
.Xr write 2 ,
-.Xr getprotoent 3
+.Xr getprotoent 3 ,
+.Xr protocols 5
.Rs
.%T "An Introductory 4.3 BSD Interprocess Communication Tutorial"
.%B PS1
diff --git a/lib/libc/sys/syscall.2 b/lib/libc/sys/syscall.2
index f3573667be82..f59f2d14b223 100644
--- a/lib/libc/sys/syscall.2
+++ b/lib/libc/sys/syscall.2
@@ -42,9 +42,9 @@
.Fd #include <sys/syscall.h>
.Fd #include <unistd.h>
.Ft int
-.Fn syscall "int number" "..."
-.Ft int
-.Fn __syscall "quad_t number" "..."
+.Fn syscall "int number" ...
+.Ft off_t
+.Fn __syscall "quad_t number" ...
.Sh DESCRIPTION
.Fn Syscall
performs the system call whose assembly language
diff --git a/lib/libc/sys/truncate.c b/lib/libc/sys/truncate.c
index 7307520b9163..5bfeeb665c9a 100644
--- a/lib/libc/sys/truncate.c
+++ b/lib/libc/sys/truncate.c
@@ -38,13 +38,15 @@ static char sccsid[] = "@(#)truncate.c 8.1 (Berkeley) 6/17/93";
#include <sys/types.h>
#include <sys/syscall.h>
+#include <unistd.h>
+
/*
* This function provides 64-bit offset padding that
* is not supplied by GCC 1.X but is supplied by GCC 2.X.
*/
int
truncate(path, length)
- const char *path;
+ const char *path;
off_t length;
{
diff --git a/lib/libc/sys/vfork.2 b/lib/libc/sys/vfork.2
index c4bb8950018d..904184cd87e9 100644
--- a/lib/libc/sys/vfork.2
+++ b/lib/libc/sys/vfork.2
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)vfork.2 8.1 (Berkeley) 6/4/93
-.\" $Id: vfork.2,v 1.4.2.2 1997/01/12 00:09:35 mpp Exp $
+.\" $Id: vfork.2,v 1.4.2.3 1997/11/18 04:07:05 jdp Exp $
.\"
.Dd June 4, 1993
.Dt VFORK 2
@@ -90,11 +90,13 @@ it is wrong to call
.Xr exit 3
since buffered data would then be flushed twice.)
.Sh SEE ALSO
+.Xr _exit 2 ,
.Xr execve 2 ,
.Xr fork 2 ,
.Xr rfork 2 ,
.Xr sigvec 2 ,
-.Xr wait 2
+.Xr wait 2 ,
+.Xr exit 3
.Sh RETURN VALUES
Same as for
.Xr fork 2 .
diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2
index d348361773f7..3d31479591af 100644
--- a/lib/libc/sys/wait.2
+++ b/lib/libc/sys/wait.2
@@ -288,6 +288,7 @@ and the ability to restart a pending
call are extensions to the POSIX interface.
.Sh SEE ALSO
.Xr _exit 2 ,
+.Xr ptrace 2 ,
.Xr sigaction 2 ,
.Xr exit 3
.Sh HISTORY