grammar
authorAnne Hughes <anne@ucbvax.Berkeley.EDU>
Fri, 23 May 1986 03:17:00 +0000 (19:17 -0800)
committerAnne Hughes <anne@ucbvax.Berkeley.EDU>
Fri, 23 May 1986 03:17:00 +0000 (19:17 -0800)
SCCS-vsn: lib/libc/sys/close.2 6.3
SCCS-vsn: lib/libc/sys/connect.2 6.6
SCCS-vsn: lib/libc/compat-43/creat.2 6.6
SCCS-vsn: lib/libc/sys/execve.2 6.7
SCCS-vsn: lib/libc/sys/_exit.2 6.4
SCCS-vsn: lib/libc/sys/fcntl.2 6.4

usr/src/lib/libc/compat-43/creat.2
usr/src/lib/libc/sys/_exit.2
usr/src/lib/libc/sys/close.2
usr/src/lib/libc/sys/connect.2
usr/src/lib/libc/sys/execve.2
usr/src/lib/libc/sys/fcntl.2

index bff26f8..eaaa93f 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)creat.2     6.5 (Berkeley) %G%
+.\"    @(#)creat.2     6.6 (Berkeley) %G%
 .\"
 .TH CREAT 2 ""
 .UC 4
 .\"
 .TH CREAT 2 ""
 .UC 4
@@ -14,7 +14,7 @@ creat \- create a new file
 .B char *name;
 .fi
 .SH DESCRIPTION
 .B char *name;
 .fi
 .SH DESCRIPTION
-.B "This interface is obsoleted by open(2).
+.B "This interface is made obsolete by open(2).
 .PP
 .I Creat
 creates a new file or prepares to rewrite an existing
 .PP
 .I Creat
 creates a new file or prepares to rewrite an existing
@@ -44,7 +44,7 @@ The
 given is arbitrary; it need not allow
 writing.
 This feature has been used in the past by
 given is arbitrary; it need not allow
 writing.
 This feature has been used in the past by
-programs to construct a simple exclusive locking
+programs to construct a simple, exclusive locking
 mechanism.  It is replaced by the O_EXCL open
 mode, or 
 .IR flock (2)
 mechanism.  It is replaced by the O_EXCL open
 mode, or 
 .IR flock (2)
index 995fed6..18cd5a9 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)_exit.2     6.3 (Berkeley) %G%
+.\"    @(#)_exit.2     6.4 (Berkeley) %G%
 .\"
 .TH EXIT 2 ""
 .UC 4
 .\"
 .TH EXIT 2 ""
 .UC 4
@@ -20,7 +20,7 @@ terminates a process with the following consequences:
 .in +5n
 .PP
 All of the descriptors open in the calling process are closed.
 .in +5n
 .PP
 All of the descriptors open in the calling process are closed.
-This may entail delays, for example waiting for output to drain;
+This may entail delays, for example, waiting for output to drain;
 a process in this state may not be killed, as it is already dying.
 .PP
 If the parent process of the calling process is executing a
 a process in this state may not be killed, as it is already dying.
 .PP
 If the parent process of the calling process is executing a
index b07808a..d7324fb 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.2 (Berkeley) %G%
+.\"    @(#)close.2     6.3 (Berkeley) %G%
 .\"
 .TH CLOSE 2 ""
 .UC 4
 .\"
 .TH CLOSE 2 ""
 .UC 4
@@ -24,8 +24,8 @@ on the last close of a
 .IR socket (2)
 associated naming information and queued data are discarded;
 on the last close of a file holding an advisory lock
 .IR socket (2)
 associated naming information and queued data are discarded;
 on the last close of a file holding an advisory lock
-the lock is releasedsee further
-.IR flock (2).
+the lock is released (see further
+.IR flock (2)\fR).
 .PP
 A close of all of a process's descriptors is automatic on
 .IR exit ,
 .PP
 A close of all of a process's descriptors is automatic on
 .IR exit ,
index e3b6712..ca2ca62 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)connect.2   6.5 (Berkeley) %G%
+.\"    @(#)connect.2   6.6 (Berkeley) %G%
 .\"
 .TH CONNECT 2 ""
 .UC 5
 .\"
 .TH CONNECT 2 ""
 .UC 5
@@ -85,7 +85,7 @@ The \fIname\fP parameter specifies an area outside
 the process address space.
 .TP 20
 [EINPROGRESS]
 the process address space.
 .TP 20
 [EINPROGRESS]
-The socket is non-blocking and the
+The socket is non-blocking 
 and the connection cannot
 be completed immediately.
 It is possible to
 and the connection cannot
 be completed immediately.
 It is possible to
@@ -95,7 +95,7 @@ for completion by selecting the socket for writing.
 [EALREADY]
 The socket is non-blocking
 and a previous connection attempt
 [EALREADY]
 The socket is non-blocking
 and a previous connection attempt
-has not yet completed.
+has not yet been completed.
 .PP
 The following errors are specific to connecting names in the UNIX domain.
 These errors may not apply in future versions of the UNIX IPC domain.
 .PP
 The following errors are specific to connecting names in the UNIX domain.
 These errors may not apply in future versions of the UNIX IPC domain.
index d05c1cb..5a30227 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)execve.2    6.6 (Berkeley) %G%
+.\"    @(#)execve.2    6.7 (Berkeley) %G%
 .\"
 .TH EXECVE 2 ""
 .UC 4
 .\"
 .TH EXECVE 2 ""
 .UC 4
@@ -24,7 +24,7 @@ or a file of data for an interpreter.
 An executable object file consists of an identifying header,
 followed by pages of data representing the initial program (text)
 and initialized data pages.  Additional pages may be specified
 An executable object file consists of an identifying header,
 followed by pages of data representing the initial program (text)
 and initialized data pages.  Additional pages may be specified
-by the header to be initialize with zero data.  See
+by the header to be initialized with zero data.  See
 .IR a.out (5).
 .PP
 An interpreter file begins with a line of the form ``#! \fIinterpreter\fP''.
 .IR a.out (5).
 .PP
 An interpreter file begins with a line of the form ``#! \fIinterpreter\fP''.
@@ -43,17 +43,17 @@ to null-terminated character strings.  These strings constitute
 the argument list to be made available to the new
 process.  By convention, at least one argument must be present in
 this array, and the first element of this array should be
 the argument list to be made available to the new
 process.  By convention, at least one argument must be present in
 this array, and the first element of this array should be
-the name of the executed program (i.e. the last component of \fIname\fP).
+the name of the executed program (i.e., the last component of \fIname\fP).
 .PP
 The argument \fIenvp\fP is also a null-terminated array of character pointers
 to null-terminated strings.  These strings pass information to the
 .PP
 The argument \fIenvp\fP is also a null-terminated array of character pointers
 to null-terminated strings.  These strings pass information to the
-new process that is not directly an argument to the commandsee
-.IR environ (7).
+new process that is not directly an argument to the command (see
+.IR environ (7)).
 .PP
 Descriptors open in the calling process remain open in
 the new process, except for those for which the close-on-exec
 .PP
 Descriptors open in the calling process remain open in
 the new process, except for those for which the close-on-exec
-flag is setsee
-.IR close (2).
+flag is set (see
+.IR close (2)).
 Descriptors that remain open are unaffected by
 .IR execve .
 .PP
 Descriptors that remain open are unaffected by
 .IR execve .
 .PP
@@ -61,13 +61,13 @@ Ignored signals remain ignored across an
 .IR execve ,
 but signals that are caught are reset to their default values.
 Blocked signals remain blocked regardless of changes to the signal action.
 .IR execve ,
 but signals that are caught are reset to their default values.
 Blocked signals remain blocked regardless of changes to the signal action.
-The signal stack is reset to be undefinedsee
-.IR sigvec (2)
-for more information.
+The signal stack is reset to be undefined (see
+.IR sigvec (2) 
+for more information).
 .PP
 Each process has
 .I real
 .PP
 Each process has
 .I real
-user and group IDs and a
+user and group IDs and an
 .I effective
 user and group IDs.  The
 .I real
 .I effective
 user and group IDs.  The
 .I real
index a107868..afdf05d 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)fcntl.2     6.3 (Berkeley) %G%
+.\"    @(#)fcntl.2     6.4 (Berkeley) %G%
 .\"
 .TH FCNTL 2 ""
 .UC 5
 .\"
 .TH FCNTL 2 ""
 .UC 5
@@ -99,7 +99,7 @@ corresponds to the O_APPEND flag of
 .TP
 FASYNC
 Enable the SIGIO signal to be sent to the process group
 .TP
 FASYNC
 Enable the SIGIO signal to be sent to the process group
-when I/O is possible, e.g.
+when I/O is possible, e.g.,
 upon availability of data to be read.
 .SH "RETURN VALUE
 Upon successful completion, the value returned depends on
 upon availability of data to be read.
 .SH "RETURN VALUE
 Upon successful completion, the value returned depends on
@@ -135,7 +135,7 @@ open.
 .I Cmd
 is F_DUPFD and
 .I arg
 .I Cmd
 is F_DUPFD and
 .I arg
-is negative or greater the maximum allowable number
+is negative or greater than the maximum allowable number
 (see
 .IR getdtablesize (2)).
 .TP 15
 (see
 .IR getdtablesize (2)).
 .TP 15