SCCS-vsn: lib/libc/sys/send.2 6.2
SCCS-vsn: lib/libc/sys/sigreturn.2 6.2
SCCS-vsn: lib/libc/compat-43/sigsetmask.2 6.2
SCCS-vsn: lib/libc/sys/sigstack.2 6.2
SCCS-vsn: lib/libc/compat-43/sigvec.2 6.2
SCCS-vsn: lib/libc/sys/socket.2 6.2
SCCS-vsn: lib/libc/sys/stat.2 6.3
SCCS-vsn: lib/libc/sys/sync.2 6.2
SCCS-vsn: lib/libc/sys/wait.2 6.2
SCCS-vsn: lib/libc/sys/truncate.2 6.3
SCCS-vsn: lib/libc/sys/vfork.2 6.2
SCCS-vsn: lib/libc/sys/vhangup.2 6.2
SCCS-vsn: lib/libc/sys/write.2 6.2
13 files changed:
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)sigsetmask.2 6.1 (Berkeley) %G%
+.\" @(#)sigsetmask.2 6.2 (Berkeley) %G%
.\"
.TH SIGSETMASK 2 ""
.UC 5
.\"
.TH SIGSETMASK 2 ""
.UC 5
.SH DESCRIPTION
.I Sigsetmask
sets the current signal mask (those signals
.SH DESCRIPTION
.I Sigsetmask
sets the current signal mask (those signals
-which are blocked from delivery). Signal
+that are blocked from delivery). Signal
.I i
is blocked if the
.IR i -th
.I i
is blocked if the
.IR i -th
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)sigvec.2 6.1 (Berkeley) %G%
+.\" @(#)sigvec.2 6.2 (Berkeley) %G%
.\"
.TH SIGVEC 2 ""
.UC 4
.\"
.TH SIGVEC 2 ""
.UC 4
-points to memory which is not a valid part of the process
+points to memory that is not a valid part of the process
address space.
.TP 15
[EINVAL]
address space.
.TP 15
[EINVAL]
is the signal number, into which the hardware faults and traps are
mapped as defined below.
.I Code
is the signal number, into which the hardware faults and traps are
mapped as defined below.
.I Code
-is a parameter which is either a constant
+is a parameter that is either a constant
as given below or, for compatibility mode faults, the code provided by
the hardware (Compatibility mode faults are distinguished from the
other SIGILL traps by having PSL_CM set in the psl).
as given below or, for compatibility mode faults, the code provided by
the hardware (Compatibility mode faults are distinguished from the
other SIGILL traps by having PSL_CM set in the psl).
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)send.2 6.1 (Berkeley) %G%
+.\" @(#)send.2 6.2 (Berkeley) %G%
The
.I flags
parameter may be set to MSG_OOB to send \*(lqout-of-band\*(rq
The
.I flags
parameter may be set to MSG_OOB to send \*(lqout-of-band\*(rq
-data on sockets which support this notion (e.g. SOCK_STREAM).
+data on sockets that support this notion (e.g. SOCK_STREAM).
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)sigreturn.2 6.1 (Berkeley) %G%
+.\" @(#)sigreturn.2 6.2 (Berkeley) %G%
.\"
.TH SIGRETURN 2 ""
.UC 6
.\"
.TH SIGRETURN 2 ""
.UC 6
-points to memory which is not a valid part of the process
+points to memory that is not a valid part of the process
address space.
.TP
[EINVAL]
address space.
.TP
[EINVAL]
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)sigstack.2 6.1 (Berkeley) %G%
+.\" @(#)sigstack.2 6.2 (Berkeley) %G%
.\"
.TH SIGSTACK 2 ""
.UC 5
.\"
.TH SIGSTACK 2 ""
.UC 5
-points to memory which is not a valid part of the process
+points to memory that is not a valid part of the process
address space.
.SH "SEE ALSO"
sigvec(2), setjmp(3)
address space.
.SH "SEE ALSO"
sigvec(2), setjmp(3)
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)socket.2 6.1 (Berkeley) %G%
+.\" @(#)socket.2 6.2 (Berkeley) %G%
.\"
.TH SOCKET 2 ""
.UC 5
.\"
.TH SOCKET 2 ""
.UC 5
.RE
.PP
The socket has the indicated
.RE
.PP
The socket has the indicated
which specifies the semantics of communication. Currently
defined types are:
.PP
which specifies the semantics of communication. Currently
defined types are:
.PP
are used to set and get options, respectively.
Options other than SO_LINGER take an
.I int
are used to set and get options, respectively.
Options other than SO_LINGER take an
.I int
-parameter which should non-zero if the option is to be
+parameter, which should non-zero if the option is to be
enabled, or zero if it is to be disabled; SO_LINGER
uses a
.I struct linger
enabled, or zero if it is to be disabled; SO_LINGER
uses a
.I struct linger
call when SO_LINGER is requested).
If SO_LINGER is disabled and a
.I close
call when SO_LINGER is requested).
If SO_LINGER is disabled and a
.I close
-is issued, the system will process the close in a manner which allows
+is issued, the system will process the close in a manner that allows
the process to continue as quickly as possible.
.SH "RETURN VALUE
A \-1 is returned if an error occurs, otherwise the return
the process to continue as quickly as possible.
.SH "RETURN VALUE
A \-1 is returned if an error occurs, otherwise the return
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)stat.2 6.2 (Berkeley) %G%
+.\" @(#)stat.2 6.3 (Berkeley) %G%
and
.I st_spare3
are present in preparation for inode time stamps expanding
and
.I st_spare3
are present in preparation for inode time stamps expanding
-to 64 bits. This, however, can break certain programs which
+to 64 bits. This, however, can break certain programs that
depend on the time stamps being contiguous (in calls to
.IR utimes (2)).
.SH "SEE ALSO"
depend on the time stamps being contiguous (in calls to
.IR utimes (2)).
.SH "SEE ALSO"
to a socket (and thus to a pipe)
returns a zero'd buffer, except for the blocksize field.
.PP
to a socket (and thus to a pipe)
returns a zero'd buffer, except for the blocksize field.
.PP
-The list of calls which modify the various fields should be carefully
+The list of calls that modify the various fields should be carefully
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)sync.2 6.1 (Berkeley) %G%
+.\" @(#)sync.2 6.2 (Berkeley) %G%
modified i-nodes, and delayed block I/O.
.PP
.I Sync
modified i-nodes, and delayed block I/O.
.PP
.I Sync
-should be used by programs which examine a file system,
+should be used by programs that examine a file system,
for example
.I "fsck, df,"
etc.
for example
.I "fsck, df,"
etc.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)truncate.2 6.2 (Berkeley) %G%
+.\" @(#)truncate.2 6.3 (Berkeley) %G%
.\"
.TH TRUNCATE 2 ""
.UC 5
.\"
.TH TRUNCATE 2 ""
.UC 5
.SH BUGS
Partial blocks discarded as the result of truncation
are not zero filled; this can result in holes in files
.SH BUGS
Partial blocks discarded as the result of truncation
are not zero filled; this can result in holes in files
-which do not read as zero.
+that do not read as zero.
.PP
These calls should be generalized to allow ranges
of bytes in a file to be discarded.
.PP
These calls should be generalized to allow ranges
of bytes in a file to be discarded.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)vfork.2 6.1 (Berkeley) %G%
+.\" @(#)vfork.2 6.2 (Berkeley) %G%
can normally be used just like
.I fork.
It does not work, however, to return while running in the childs context
can normally be used just like
.I fork.
It does not work, however, to return while running in the childs context
-from the procedure which called
+from the procedure that called
.I vfork
since the eventual return from
.I vfork
.I vfork
since the eventual return from
.I vfork
.IR fork .
.PP
To avoid a possible deadlock situation,
.IR fork .
.PP
To avoid a possible deadlock situation,
-processes which are children in the middle
+processes that are children in the middle
of a
.I vfork
are never sent SIGTTOU or SIGTTIN signals; rather,
of a
.I vfork
are never sent SIGTTOU or SIGTTIN signals; rather,
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)vhangup.2 6.1 (Berkeley) %G%
+.\" @(#)vhangup.2 6.2 (Berkeley) %G%
.\"
.TH VHANGUP 2 ""
.UC 4
.\"
.TH VHANGUP 2 ""
.UC 4
.I vhangup
searches the system tables for references to the control terminal
of the invoking process, revoking access permissions
.I vhangup
searches the system tables for references to the control terminal
of the invoking process, revoking access permissions
-on each instance of the terminal which it finds.
+on each instance of the terminal that it finds.
Further attempts to access the terminal by the affected processes
will yield i/o errors (EBADF).
Finally,
Further attempts to access the terminal by the affected processes
will yield i/o errors (EBADF).
Finally,
.B /dev/tty
is still possible.
.PP
.B /dev/tty
is still possible.
.PP
-This call should be replaced by an automatic mechanism which
+This call should be replaced by an automatic mechanism that
takes place on process exit.
takes place on process exit.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)wait.2 6.1 (Berkeley) %G%
+.\" @(#)wait.2 6.2 (Berkeley) %G%
.PP
.I Wait3
provides an alternate interface for programs
.PP
.I Wait3
provides an alternate interface for programs
-which must not block when collecting the status
+that must not block when collecting the status
of child processes. The
.I status
parameter is defined as above. The
.I options
parameter is used to indicate the call should not block if
of child processes. The
.I status
parameter is defined as above. The
.I options
parameter is used to indicate the call should not block if
-there are no processes which wish to report status (WNOHANG),
-and/or that children of the current process which are stopped
+there are no processes that wish to report status (WNOHANG),
+and/or that children of the current process that are stopped
due to a SIGTTIN, SIGTTOU, SIGTSTP, or SIGSTOP signal should also have
their status reported (WUNTRACED). If
.I rusage
due to a SIGTTIN, SIGTTOU, SIGTSTP, or SIGSTOP signal should also have
their status reported (WUNTRACED). If
.I rusage
for a list of termination statuses (signals);
0 status indicates normal termination.
A special status (0177) is returned for a stopped process
for a list of termination statuses (signals);
0 status indicates normal termination.
A special status (0177) is returned for a stopped process
-which has not terminated and can be restarted;
+that has not terminated and can be restarted;
see
.IR ptrace (2).
If the 0200 bit of the termination status
see
.IR ptrace (2).
If the 0200 bit of the termination status
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)write.2 6.1 (Berkeley) %G%
+.\" @(#)write.2 6.2 (Berkeley) %G%
.TP 15
[EPIPE]
An attempt is made to write to a socket of type SOCK_STREAM
.TP 15
[EPIPE]
An attempt is made to write to a socket of type SOCK_STREAM
-which is not connected to a peer socket.
+that is not connected to a peer socket.
.TP 15
[EFBIG]
An attempt was made to write a file that exceeds the process's
.TP 15
[EFBIG]
An attempt was made to write a file that exceeds the process's