Fix spelling errors.
This commit is contained in:
parent
dfe9897dba
commit
12d5be7f56
@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" from: @(#)accept.2 6.6 (Berkeley) 4/29/91
|
||||
.\" $Id: accept.2,v 1.4 1993/11/29 21:24:57 jtc Exp $
|
||||
.\" $Id: accept.2,v 1.5 1994/01/10 23:54:08 jtc Exp $
|
||||
.\"
|
||||
.Dd April 29, 1991
|
||||
.Dt ACCEPT 2
|
||||
@ -108,10 +108,10 @@ or
|
||||
.Tn DATAKIT ,
|
||||
.Fn accept
|
||||
can be thought of
|
||||
as merely dequeueing the next connection
|
||||
as merely dequeuing the next connection
|
||||
request and not implying confirmation.
|
||||
Confirmation can be implied by a normal read or write on the new
|
||||
file desciptor, and rejection can be implied by closing the
|
||||
file descriptor, and rejection can be implied by closing the
|
||||
new socket.
|
||||
.Pp
|
||||
One can obtain user connection request data without confirming
|
||||
|
@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" from: @(#)brk.2 6.5 (Berkeley) 3/10/91
|
||||
.\" $Id: brk.2,v 1.5 1993/11/29 21:25:01 jtc Exp $
|
||||
.\" $Id: brk.2,v 1.6 1994/01/10 23:54:10 jtc Exp $
|
||||
.\"
|
||||
.Dd March 10, 1991
|
||||
.Dt BRK 2
|
||||
@ -54,7 +54,7 @@ The
|
||||
.Fn brk
|
||||
function
|
||||
sets the break or lowest address
|
||||
of a process's data segment (unilitialized data) to
|
||||
of a process's data segment (uninitialized data) to
|
||||
.Fa addr
|
||||
(immediately above bss).
|
||||
Data addressing is restricted between
|
||||
|
@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" from: @(#)chdir.2 6.7 (Berkeley) 3/10/91
|
||||
.\" $Id: chdir.2,v 1.3 1993/11/25 00:38:27 jtc Exp $
|
||||
.\" $Id: chdir.2,v 1.4 1994/01/10 23:54:12 jtc Exp $
|
||||
.\"
|
||||
.Dd March 10, 1991
|
||||
.Dt CHDIR 2
|
||||
@ -48,7 +48,7 @@
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Fa path
|
||||
arument points to the pathname of a directory.
|
||||
argument points to the pathname of a directory.
|
||||
The
|
||||
.Fn chdir
|
||||
function
|
||||
|
@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" from: @(#)chown.2 6.7 (Berkeley) 3/10/91
|
||||
.\" $Id: chown.2,v 1.4 1993/11/25 00:38:31 jtc Exp $
|
||||
.\" $Id: chown.2,v 1.5 1994/01/10 23:54:14 jtc Exp $
|
||||
.\"
|
||||
.Dd March 10, 1991
|
||||
.Dt CHOWN 2
|
||||
@ -67,7 +67,7 @@ capability is restricted to the super-user.
|
||||
.Fn Chown
|
||||
clears the set-user-id and set-group-id bits
|
||||
on the file
|
||||
to prevent accidental or mischievious creation of
|
||||
to prevent accidental or mischievous creation of
|
||||
set-user-id and set-group-id programs.
|
||||
.Pp
|
||||
.Fn Fchown
|
||||
|
@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" from: @(#)close.2 6.4 (Berkeley) 3/10/91
|
||||
.\" $Id: close.2,v 1.3 1993/11/25 00:38:33 jtc Exp $
|
||||
.\" $Id: close.2,v 1.4 1994/01/10 23:54:16 jtc Exp $
|
||||
.\"
|
||||
.Dd March 10, 1991
|
||||
.Dt CLOSE 2
|
||||
@ -65,7 +65,7 @@ all associated file descriptors are freed, but since there is
|
||||
a limit on active descriptors per processes, the
|
||||
.Fn close
|
||||
function call
|
||||
is useful when a large quanitity of file descriptors are being handled.
|
||||
is useful when a large quantity of file descriptors are being handled.
|
||||
.Pp
|
||||
When a process forks (see
|
||||
.Xr fork 2 ) ,
|
||||
@ -104,7 +104,7 @@ will fail if:
|
||||
.Fa D
|
||||
is not an active descriptor.
|
||||
.It Bq Er EINTR
|
||||
An interupt was received.
|
||||
An interrupt was received.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr accept 2 ,
|
||||
|
@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" from: @(#)getsockopt.2 6.9 (Berkeley) 5/1/91
|
||||
.\" $Id: getsockopt.2,v 1.4 1993/11/29 21:25:13 jtc Exp $
|
||||
.\" $Id: getsockopt.2,v 1.5 1994/01/10 23:54:18 jtc Exp $
|
||||
.\"
|
||||
.Dd May 1, 1991
|
||||
.Dt GETSOCKOPT 2
|
||||
@ -175,7 +175,7 @@ to the appropriate network interface according to the network portion
|
||||
of the destination address.
|
||||
.Pp
|
||||
.Dv SO_LINGER
|
||||
controls the action taken when unsent messags
|
||||
controls the action taken when unsent messages
|
||||
are queued on socket and a
|
||||
.Xr close 2
|
||||
is performed.
|
||||
|
@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" from: @(#)intro.2 6.13 (Berkeley) 7/23/91
|
||||
.\" $Id: intro.2,v 1.3 1993/10/15 00:05:44 jtc Exp $
|
||||
.\" $Id: intro.2,v 1.4 1994/01/10 23:54:20 jtc Exp $
|
||||
.\"
|
||||
.Dd July 23, 1991
|
||||
.Dt INTRO 2
|
||||
@ -94,7 +94,7 @@ or
|
||||
.Dv SIGQUIT )
|
||||
was caught by the process during the execution of an interruptible
|
||||
function. If the signal handler performs a normal return, the
|
||||
interupted function call will seem to have returned the error condition.
|
||||
interrupted function call will seem to have returned the error condition.
|
||||
.It Er 5 EIO Em "Input/output error" .
|
||||
Some physical input or output error occurred.
|
||||
This error not be reported until a subsequent operation on the same file
|
||||
@ -377,7 +377,7 @@ which is now unavailable as referenced by the file descriptor.
|
||||
This may indicate the file was deleted on the
|
||||
.Tn NFS
|
||||
server or some
|
||||
other catastrophic event occured.
|
||||
other catastrophic event occurred.
|
||||
.It Er 72 EBADRPC Em "RPC struct is bad" .
|
||||
Exchange of
|
||||
.Tn RPC
|
||||
|
@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" from: @(#)kill.2 6.6 (Berkeley) 3/10/91
|
||||
.\" $Id: kill.2,v 1.5 1993/12/15 20:40:35 jtc Exp $
|
||||
.\" $Id: kill.2,v 1.6 1994/01/10 23:54:22 jtc Exp $
|
||||
.\"
|
||||
.Dd March 10, 1991
|
||||
.Dt KILL 2
|
||||
@ -64,7 +64,7 @@ This can be used to check the validity of
|
||||
For a process to have permission to send a signal to a process designated
|
||||
by
|
||||
.Fa pid ,
|
||||
the real or effective user ID of the receving process must match
|
||||
the real or effective user ID of the receiving process must match
|
||||
that of the sending process or the user must have appropriate privileges
|
||||
(such as given by a set-user-ID program or the user is the super-user).
|
||||
A single exception is the signal SIGCONT, which may always be sent
|
||||
|
@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" from: @(#)lseek.2 6.5 (Berkeley) 3/10/91
|
||||
.\" $Id: lseek.2,v 1.4 1993/11/29 21:25:20 jtc Exp $
|
||||
.\" $Id: lseek.2,v 1.5 1994/01/10 23:54:23 jtc Exp $
|
||||
.\"
|
||||
.Dd March 10, 1991
|
||||
.Dt LSEEK 2
|
||||
@ -93,7 +93,7 @@ The
|
||||
function allows the file offset to be set beyond the end
|
||||
of the existing end-of-file of the file. If data is later written
|
||||
at this point, subsequent reads of the data in the gap return
|
||||
bytes of zeros (until data is actualy written into the gap).
|
||||
bytes of zeros (until data is actually written into the gap).
|
||||
.Pp
|
||||
Some devices are incapable of seeking. The value of the pointer
|
||||
associated with such a device is undefined.
|
||||
@ -101,7 +101,7 @@ associated with such a device is undefined.
|
||||
Upon successful completion,
|
||||
.Fn lseek
|
||||
returns the resulting offset location as measured in bytes from the
|
||||
begining of the file.
|
||||
beginning of the file.
|
||||
Otherwise,
|
||||
a value of -1 is returned and
|
||||
.Va errno
|
||||
|
@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" from: @(#)recv.2 6.11 (Berkeley) 5/1/91
|
||||
.\" $Id: recv.2,v 1.4 1993/11/29 21:25:29 jtc Exp $
|
||||
.\" $Id: recv.2,v 1.5 1994/01/10 23:54:25 jtc Exp $
|
||||
.\"
|
||||
.Dd May 1, 1991
|
||||
.Dt RECV 2
|
||||
@ -230,7 +230,7 @@ The argument
|
||||
.Fa s
|
||||
is an invalid descriptor.
|
||||
.It Bq Er ENOTCONN
|
||||
The socket is assoicated with a connection-oriented protocol
|
||||
The socket is associated with a connection-oriented protocol
|
||||
and has not been connected (see
|
||||
.Xr connect 2
|
||||
and
|
||||
|
@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" from: @(#)setpgid.2 6.3 (Berkeley) 3/10/91
|
||||
.\" $Id: setpgid.2,v 1.5 1993/12/15 20:40:37 jtc Exp $
|
||||
.\" $Id: setpgid.2,v 1.6 1994/01/10 23:54:26 jtc Exp $
|
||||
.\"
|
||||
.Dd March 10, 1991
|
||||
.Dt SETPGRP 2
|
||||
@ -72,7 +72,7 @@ will fail and the process group will not be altered if:
|
||||
The requested process does not exist.
|
||||
.It Bq Er EPERM
|
||||
The effective user ID of the requested process is different
|
||||
from that of the caller and the process is not a descendent
|
||||
from that of the caller and the process is not a descendant
|
||||
of the calling process.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
|
@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" from: @(#)stat.2 6.9 (Berkeley) 3/10/91
|
||||
.\" $Id: stat.2,v 1.4 1993/11/29 21:25:45 jtc Exp $
|
||||
.\" $Id: stat.2,v 1.5 1994/01/10 23:54:33 jtc Exp $
|
||||
.\"
|
||||
.Dd March 10, 1991
|
||||
.Dt STAT 2
|
||||
@ -56,7 +56,7 @@ function obtains information about the file pointed to by
|
||||
.Fa path .
|
||||
Read, write or execute
|
||||
permission of the named file is not required, but all directories
|
||||
listed in the path name leading to the file must be seachable.
|
||||
listed in the path name leading to the file must be searchable.
|
||||
.Pp
|
||||
.Fn Lstat
|
||||
is like
|
||||
|
@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" from: @(#)wait.2 6.5 (Berkeley) 3/10/91
|
||||
.\" $Id: wait.2,v 1.4 1993/11/25 00:40:04 jtc Exp $
|
||||
.\" $Id: wait.2,v 1.5 1994/01/10 23:54:38 jtc Exp $
|
||||
.\"
|
||||
.Dd March 10, 1991
|
||||
.Dt WAIT 2
|
||||
@ -73,7 +73,7 @@ The
|
||||
.Fn wait4
|
||||
call provides a more general interface for programs
|
||||
that need to wait for certain child processes,
|
||||
that need resource utilization statistics accummulated by child processes,
|
||||
that need resource utilization statistics accumulated by child processes,
|
||||
or that require options.
|
||||
The other wait functions are implemented using
|
||||
.Fn wait4 .
|
||||
|
Loading…
Reference in New Issue
Block a user