SCCS-vsn: lib/libc/sys/bind.2 6.3
SCCS-vsn: lib/libc/sys/chown.2 6.3
SCCS-vsn: lib/libc/sys/close.2 6.2
.\" 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.
.\"
-.\" @(#)bind.2 6.2 (Berkeley) %G%
+.\" @(#)bind.2 6.3 (Berkeley) %G%
be assigned to the socket.
.SH NOTES
Binding a name in the UNIX domain creates a socket in the file
be assigned to the socket.
.SH NOTES
Binding a name in the UNIX domain creates a socket in the file
-system which must be deleted by the caller when it is no longer
+system that must be deleted by the caller when it is no longer
needed (using
.IR unlink (2)).
The file created
needed (using
.IR unlink (2)).
The file created
.\" 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.
.\"
-.\" @(#)chown.2 6.2 (Berkeley) %G%
+.\" @(#)chown.2 6.3 (Berkeley) %G%
.fi
.SH DESCRIPTION
The file
.fi
.SH DESCRIPTION
The file
-which is named by \fIpath\fP or referenced by \fIfd\fP
+that is named by \fIpath\fP or referenced by \fIfd\fP
.\" 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.
.\"
-.\" @(#)close.2 6.1 (Berkeley) %G%
+.\" @(#)close.2 6.2 (Berkeley) %G%
but since
there is a limit on the number of active descriptors per process,
.I close
but since
there is a limit on the number of active descriptors per process,
.I close
-is necessary for programs which deal with many descriptors.
+is necessary for programs that deal with many descriptors.
.PP
When a process forks (see
.IR fork (2)),
.PP
When a process forks (see
.IR fork (2)),
is attempted, but if some of these descriptors will still
be needed if the execve fails, it is necessary to arrange for them
to be closed if the execve succeeds.
is attempted, but if some of these descriptors will still
be needed if the execve fails, it is necessary to arrange for them
to be closed if the execve succeeds.
-For this reason, the call ``fcntl(d, F_SETFD, 1)'' is provided
+For this reason, the call ``fcntl(d, F_SETFD, 1)'' is provided,
which arranges that a descriptor will be closed after a successful
execve; the call ``fcntl(d, F_SETFD, 0)'' restores the default,
which is to not close the descriptor.
which arranges that a descriptor will be closed after a successful
execve; the call ``fcntl(d, F_SETFD, 0)'' restores the default,
which is to not close the descriptor.