From 12d5be7f56bceed373c7cc3231d2111f7cff264c Mon Sep 17 00:00:00 2001 From: jtc Date: Mon, 10 Jan 1994 23:54:08 +0000 Subject: [PATCH] Fix spelling errors. --- lib/libc/sys/accept.2 | 6 +++--- lib/libc/sys/brk.2 | 4 ++-- lib/libc/sys/chdir.2 | 4 ++-- lib/libc/sys/chown.2 | 4 ++-- lib/libc/sys/close.2 | 6 +++--- lib/libc/sys/getsockopt.2 | 4 ++-- lib/libc/sys/intro.2 | 6 +++--- lib/libc/sys/kill.2 | 4 ++-- lib/libc/sys/lseek.2 | 6 +++--- lib/libc/sys/recv.2 | 4 ++-- lib/libc/sys/setpgid.2 | 4 ++-- lib/libc/sys/stat.2 | 4 ++-- lib/libc/sys/wait.2 | 4 ++-- 13 files changed, 30 insertions(+), 30 deletions(-) diff --git a/lib/libc/sys/accept.2 b/lib/libc/sys/accept.2 index 11825e376406..8a533b5bcad9 100644 --- a/lib/libc/sys/accept.2 +++ b/lib/libc/sys/accept.2 @@ -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 diff --git a/lib/libc/sys/brk.2 b/lib/libc/sys/brk.2 index ff588d0c5f77..f61a2e6a9889 100644 --- a/lib/libc/sys/brk.2 +++ b/lib/libc/sys/brk.2 @@ -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 diff --git a/lib/libc/sys/chdir.2 b/lib/libc/sys/chdir.2 index 8327b4ebdbfb..f94569a9df75 100644 --- a/lib/libc/sys/chdir.2 +++ b/lib/libc/sys/chdir.2 @@ -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 diff --git a/lib/libc/sys/chown.2 b/lib/libc/sys/chown.2 index 6ad44f2537b0..68473b1c7c42 100644 --- a/lib/libc/sys/chown.2 +++ b/lib/libc/sys/chown.2 @@ -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 diff --git a/lib/libc/sys/close.2 b/lib/libc/sys/close.2 index 3aa2e2db13f1..8cb7d604aab3 100644 --- a/lib/libc/sys/close.2 +++ b/lib/libc/sys/close.2 @@ -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 , diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2 index b348f2466f25..37ec50010011 100644 --- a/lib/libc/sys/getsockopt.2 +++ b/lib/libc/sys/getsockopt.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. diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2 index 2805be7f83c4..37d4c29008e7 100644 --- a/lib/libc/sys/intro.2 +++ b/lib/libc/sys/intro.2 @@ -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 diff --git a/lib/libc/sys/kill.2 b/lib/libc/sys/kill.2 index e4b3dafe1977..8769e86a32a5 100644 --- a/lib/libc/sys/kill.2 +++ b/lib/libc/sys/kill.2 @@ -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 diff --git a/lib/libc/sys/lseek.2 b/lib/libc/sys/lseek.2 index f9a08095369b..aa3f875811a1 100644 --- a/lib/libc/sys/lseek.2 +++ b/lib/libc/sys/lseek.2 @@ -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 diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2 index f6cce351179d..99147346e4fb 100644 --- a/lib/libc/sys/recv.2 +++ b/lib/libc/sys/recv.2 @@ -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 diff --git a/lib/libc/sys/setpgid.2 b/lib/libc/sys/setpgid.2 index 04a4940170e9..d903166128b3 100644 --- a/lib/libc/sys/setpgid.2 +++ b/lib/libc/sys/setpgid.2 @@ -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 diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2 index 689b87955660..4e96b081ab52 100644 --- a/lib/libc/sys/stat.2 +++ b/lib/libc/sys/stat.2 @@ -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 diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2 index 79de5756dacd..f9dd4c776e40 100644 --- a/lib/libc/sys/wait.2 +++ b/lib/libc/sys/wait.2 @@ -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 .