summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2005-02-13 22:25:33 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2005-02-13 22:25:33 +0000
commit0227791b40a6936310e1dd376b0883b540fec0c0 (patch)
tree8a41fa7aceada1e7e82a06e67d6722b3c843f482 /lib/libc
parente340fc602be23c05a35f023bb91e70b4148c2ad9 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/db/man/dbopen.34
-rw-r--r--lib/libc/db/man/mpool.32
-rw-r--r--lib/libc/gen/exec.34
-rw-r--r--lib/libc/gen/getcap.314
-rw-r--r--lib/libc/gen/getgrent.32
-rw-r--r--lib/libc/gen/getpwent.32
-rw-r--r--lib/libc/net/inet.32
-rw-r--r--lib/libc/net/resolver.32
-rw-r--r--lib/libc/regex/regex.36
-rw-r--r--lib/libc/rpc/rpc_clnt_create.32
-rw-r--r--lib/libc/stdtime/time2posix.32
-rw-r--r--lib/libc/sys/flock.22
-rw-r--r--lib/libc/sys/intro.24
-rw-r--r--lib/libc/sys/kldnext.22
-rw-r--r--lib/libc/sys/kldunload.22
-rw-r--r--lib/libc/sys/modnext.22
-rw-r--r--lib/libc/sys/ptrace.24
-rw-r--r--lib/libc/sys/rfork.22
-rw-r--r--lib/libc/sys/send.22
-rw-r--r--lib/libc/sys/vfork.22
20 files changed, 32 insertions, 32 deletions
diff --git a/lib/libc/db/man/dbopen.3 b/lib/libc/db/man/dbopen.3
index e2475635d72b..ef1a18207659 100644
--- a/lib/libc/db/man/dbopen.3
+++ b/lib/libc/db/man/dbopen.3
@@ -98,7 +98,7 @@ is not possible.)
.\".Bl -tag -width indent
.\".It Dv DB_LOCK
.\"Do the necessary locking in the database to support concurrent access.
-.\"If concurrent access isn't needed or the database is read-only this
+.\"If concurrent access is not needed or the database is read-only this
.\"flag should not be set, as it tends to have an associated performance
.\"penalty.
.\".It Dv DB_SHMEM
@@ -541,7 +541,7 @@ The typedef
is a mnemonic for
.Dq "data base thang" ,
and was used
-because noone could think of a reasonable name that wasn't already used.
+because noone could think of a reasonable name that was not already used.
.Pp
The file descriptor interface is a kluge and will be deleted in a
future version of the interface.
diff --git a/lib/libc/db/man/mpool.3 b/lib/libc/db/man/mpool.3
index 78feab9b6698..0c8a12a15ddf 100644
--- a/lib/libc/db/man/mpool.3
+++ b/lib/libc/db/man/mpool.3
@@ -196,7 +196,7 @@ function may fail and set
for the following:
.Bl -tag -width Er
.It Bq Er EINVAL
-The requested record doesn't exist.
+The requested record does not exist.
.El
.Pp
The
diff --git a/lib/libc/gen/exec.3 b/lib/libc/gen/exec.3
index fa852918871f..3fbf2b52736a 100644
--- a/lib/libc/gen/exec.3
+++ b/lib/libc/gen/exec.3
@@ -159,7 +159,7 @@ and
search path is the path specified in the environment by
.Dq Ev PATH
variable.
-If this variable isn't specified,
+If this variable is not specified,
the default path is set according to the
.Dv _PATH_DEFPATH
definition in
@@ -196,7 +196,7 @@ or
according to whether at least one file with suitable execute permissions
was found.
.Pp
-If the header of a file isn't recognized (the attempted
+If the header of a file is not recognized (the attempted
.Fn execve
returned
.Er ENOEXEC ) ,
diff --git a/lib/libc/gen/getcap.3 b/lib/libc/gen/getcap.3
index 090ec5ac2972..6858b0ee1d92 100644
--- a/lib/libc/gen/getcap.3
+++ b/lib/libc/gen/getcap.3
@@ -110,8 +110,8 @@ On success 0 is returned, 1 if the returned
record contains an unresolved
.Ic tc
expansion,
-\-1 if the requested record couldn't be found,
-\-2 if a system error was encountered (couldn't open/read a file, etc.) also
+\-1 if the requested record could not be found,
+\-2 if a system error was encountered (could not open/read a file, etc.) also
setting
.Va errno ,
and \-3 if a potential reference loop is detected (see
@@ -178,7 +178,7 @@ in
.Fa buf
is returned on success,
.Dv NULL
-if the requested capability couldn't be
+if the requested capability could not be
found.
The end of the capability value is signaled by a `:' or
.Tn ASCII
@@ -195,7 +195,7 @@ The numeric value is returned in the
.Ft long
pointed to by
.Fa num .
-0 is returned on success, \-1 if the requested numeric capability couldn't
+0 is returned on success, \-1 if the requested numeric capability could not
be found.
.Pp
The
@@ -214,7 +214,7 @@ pointed to by
.Fa str .
The number of characters in the decoded string not including the trailing
.Dv NUL
-is returned on success, \-1 if the requested string capability couldn't
+is returned on success, \-1 if the requested string capability could not
be found, \-2 if a system error was encountered (storage allocation
failure).
.Pp
@@ -257,7 +257,7 @@ expansion is done (see
.Ic tc=
comments below).
Upon completion of the database 0 is returned, 1 is returned upon successful
-return of record with possibly more remaining (we haven't reached the end of
+return of record with possibly more remaining (we have not reached the end of
the database yet), 2 is returned if the record contains an unresolved
.Ic tc
expansion, \-1 is returned if a system error occurred, and \-2
@@ -559,7 +559,7 @@ No memory to allocate.
.Xr cap_mkdb 1 ,
.Xr malloc 3
.Sh BUGS
-Colons (`:') can't be used in names, types, or values.
+Colons (`:') cannot be used in names, types, or values.
.Pp
There are no checks for
.Ic tc Ns = Ns Ic name
diff --git a/lib/libc/gen/getgrent.3 b/lib/libc/gen/getgrent.3
index 46788119b62c..2f5dd7769d58 100644
--- a/lib/libc/gen/getgrent.3
+++ b/lib/libc/gen/getgrent.3
@@ -147,7 +147,7 @@ is non-zero, file descriptors are left open, significantly speeding
functions subsequent calls.
This functionality is unnecessary for
.Fn getgrent
-as it doesn't close its file descriptors by default.
+as it does not close its file descriptors by default.
It should also
be noted that it is dangerous for long-running programs to use this
functionality as the group file may be updated.
diff --git a/lib/libc/gen/getpwent.3 b/lib/libc/gen/getpwent.3
index 64c8986ae409..dc471811d469 100644
--- a/lib/libc/gen/getpwent.3
+++ b/lib/libc/gen/getpwent.3
@@ -151,7 +151,7 @@ is non-zero, file descriptors are left open, significantly speeding
up subsequent accesses for all of the routines.
(This latter functionality is unnecessary for
.Fn getpwent
-as it doesn't close its file descriptors by default.)
+as it does not close its file descriptors by default.)
.Pp
It is dangerous for long-running programs to keep the file descriptors
open as the database will become out of date if it is updated while the
diff --git a/lib/libc/net/inet.3 b/lib/libc/net/inet.3
index 21d0d71da9c8..28877f1f1980 100644
--- a/lib/libc/net/inet.3
+++ b/lib/libc/net/inet.3
@@ -94,7 +94,7 @@ as held in a character string) to network format (usually a
.Ft struct in_addr
or some other internal binary representation, in network byte order).
It returns 1 if the address was valid for the specified address family, or
-0 if the address wasn't parseable in the specified address family, or -1
+0 if the address was not parseable in the specified address family, or -1
if some system error occurred (in which case
.Va errno
will have been set).
diff --git a/lib/libc/net/resolver.3 b/lib/libc/net/resolver.3
index a736db93686e..16f70067be9d 100644
--- a/lib/libc/net/resolver.3
+++ b/lib/libc/net/resolver.3
@@ -166,7 +166,7 @@ This is useful only in programs that regularly do many queries.
.Tn UDP
should be the normal mode used.
.It Dv RES_IGNTC
-Unused currently (ignore truncation errors, i.e., don't retry with
+Unused currently (ignore truncation errors, i.e., do not retry with
.Tn TCP ) .
.It Dv RES_RECURSE
Set the recursion-desired bit in queries.
diff --git a/lib/libc/regex/regex.3 b/lib/libc/regex/regex.3
index 7800575af6bf..9d101e95c2f1 100644
--- a/lib/libc/regex/regex.3
+++ b/lib/libc/regex/regex.3
@@ -436,7 +436,7 @@ places the NUL-terminated message into the buffer pointed to by
limiting the length (including the NUL) to at most
.Fa errbuf_size
bytes.
-If the whole message won't fit,
+If the whole message will not fit,
as much of it as will fit before the terminating NUL is supplied.
In any case,
the returned value is the size of buffer needed to hold the whole
@@ -641,7 +641,7 @@ operand invalid
.It Dv REG_EMPTY
empty (sub)expression
.It Dv REG_ASSERT
-can't happen - you found a bug
+cannot happen - you found a bug
.It Dv REG_INVARG
invalid argument, e.g.\& negative-length string
.It Dv REG_ILLSEQ
@@ -715,7 +715,7 @@ are legal REs because
is
a special character only in the presence of a previous unmatched
.Ql (\& .
-This can't be fixed until the spec is fixed.
+This cannot be fixed until the spec is fixed.
.Pp
The standard's definition of back references is vague.
For example, does
diff --git a/lib/libc/rpc/rpc_clnt_create.3 b/lib/libc/rpc/rpc_clnt_create.3
index 2c6047259d3d..223b9af82a42 100644
--- a/lib/libc/rpc/rpc_clnt_create.3
+++ b/lib/libc/rpc/rpc_clnt_create.3
@@ -105,7 +105,7 @@ Set the timeout argument to 0 for batching calls.
.It Dv CLGET_SVC_ADDR Ta "struct netbuf *" Ta "get servers address"
.It Dv CLGET_FD Ta "int *" Ta "get fd from handle"
.It Dv CLSET_FD_CLOSE Ta "void" Ta "close fd on destroy"
-.It Dv CLSET_FD_NCLOSE Ta void Ta "don't close fd on destroy"
+.It Dv CLSET_FD_NCLOSE Ta void Ta "do not close fd on destroy"
.It Dv CLGET_VERS Ta "u_int32_t *" Ta "get RPC program version"
.It Dv CLSET_VERS Ta "u_int32_t *" Ta "set RPC program version"
.It Dv CLGET_XID Ta "u_int32_t *" Ta "get XID of previous call"
diff --git a/lib/libc/stdtime/time2posix.3 b/lib/libc/stdtime/time2posix.3
index c11a402a3fff..219bb5f320d3 100644
--- a/lib/libc/stdtime/time2posix.3
+++ b/lib/libc/stdtime/time2posix.3
@@ -78,7 +78,7 @@ The
function is less well-behaved:
for a positive leap second hit the result is not unique,
and for a negative leap second hit the corresponding
-POSIX time_t doesn't exist so an adjacent value is returned.
+POSIX time_t does not exist so an adjacent value is returned.
Both of these are good indicators of the inferiority of the
POSIX representation.
.Pp
diff --git a/lib/libc/sys/flock.2 b/lib/libc/sys/flock.2
index acb9741e2092..654f7dfe186a 100644
--- a/lib/libc/sys/flock.2
+++ b/lib/libc/sys/flock.2
@@ -44,7 +44,7 @@
.In sys/file.h
.Fd "#define LOCK_SH 0x01 /* shared file lock */"
.Fd "#define LOCK_EX 0x02 /* exclusive file lock */"
-.Fd "#define LOCK_NB 0x04 /* don't block when locking */"
+.Fd "#define LOCK_NB 0x04 /* do not block when locking */"
.Fd "#define LOCK_UN 0x08 /* unlock file */"
.Ft int
.Fn flock "int fd" "int operation"
diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2
index 1615e9e5f03f..582f34b7322d 100644
--- a/lib/libc/sys/intro.2
+++ b/lib/libc/sys/intro.2
@@ -302,7 +302,7 @@ The protocol family has not been configured into the
system or no implementation for it exists.
.It Er 47 EAFNOSUPPORT Em "Address family not supported by protocol family" .
An address incompatible with the requested protocol was used.
-For example, you shouldn't necessarily expect to be able to use
+For example, you should not necessarily expect to be able to use
.Tn NS
addresses with
.Tn ARPA
@@ -426,7 +426,7 @@ on the remote host
.It Er 76 EPROCUNAVAIL Em "Bad procedure for program" .
An
.Tn RPC
-call was attempted for a procedure which doesn't exist
+call was attempted for a procedure which does not exist
in the remote program.
.It Er 77 ENOLCK Em "No locks available" .
A system-imposed limit on the number of simultaneous file
diff --git a/lib/libc/sys/kldnext.2 b/lib/libc/sys/kldnext.2
index 9588647cc24e..607761adec7c 100644
--- a/lib/libc/sys/kldnext.2
+++ b/lib/libc/sys/kldnext.2
@@ -63,7 +63,7 @@ is
.Er ENOENT ,
which is set when
.Va fileid
-refers to a kld file that does not exist (isn't loaded).
+refers to a kld file that does not exist (is not loaded).
.Sh SEE ALSO
.Xr kldfind 2 ,
.Xr kldfirstmod 2 ,
diff --git a/lib/libc/sys/kldunload.2 b/lib/libc/sys/kldunload.2
index aa042d2d6a54..ef6282b238cc 100644
--- a/lib/libc/sys/kldunload.2
+++ b/lib/libc/sys/kldunload.2
@@ -52,7 +52,7 @@ The file referred to by
is unloaded unless:
.Bl -tag -width Er
.It Bq Er EPERM
-You don't have access to unlink the file from the kernel.
+You do not have access to unlink the file from the kernel.
.It Bq Er ENOENT
The file was not found.
.It Bq Er EBUSY
diff --git a/lib/libc/sys/modnext.2 b/lib/libc/sys/modnext.2
index 3a6f69b70947..c0c0a0d3a223 100644
--- a/lib/libc/sys/modnext.2
+++ b/lib/libc/sys/modnext.2
@@ -77,7 +77,7 @@ is
.Er ENOENT ,
which is set when
.Va modid
-refers to a kernel module that does not exist (isn't loaded).
+refers to a kernel module that does not exist (is not loaded).
.Sh SEE ALSO
.Xr kldfind 2 ,
.Xr kldfirstmod 2 ,
diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2
index a8910d7466a6..0d6009f0e3e9 100644
--- a/lib/libc/sys/ptrace.2
+++ b/lib/libc/sys/ptrace.2
@@ -359,7 +359,7 @@ some process other than the one making the request.
A request
(other than
.Dv PT_ATTACH )
-specified a process that wasn't stopped.
+specified a process that was not stopped.
.El
.It Bq Er EPERM
.Bl -bullet -compact
@@ -367,7 +367,7 @@ specified a process that wasn't stopped.
A request
(other than
.Dv PT_ATTACH )
-attempted to manipulate a process that wasn't being traced at all.
+attempted to manipulate a process that was not being traced at all.
.It
An attempt was made to use
.Dv PT_ATTACH
diff --git a/lib/libc/sys/rfork.2 b/lib/libc/sys/rfork.2
index 9dcbf52e380f..9187a55b1346 100644
--- a/lib/libc/sys/rfork.2
+++ b/lib/libc/sys/rfork.2
@@ -107,7 +107,7 @@ The
system call
can be implemented as a call to
.Fn rfork "RFFDG | RFPROC"
-but isn't for backwards compatibility.
+but is not for backwards compatibility.
.Sh RETURN VALUES
Upon successful completion,
.Fn rfork
diff --git a/lib/libc/sys/send.2 b/lib/libc/sys/send.2
index 86bad189cbae..de048542c855 100644
--- a/lib/libc/sys/send.2
+++ b/lib/libc/sys/send.2
@@ -220,7 +220,7 @@ function appeared in
.Sh BUGS
Because
.Fn sendmsg
-doesn't necessarily block until the data has been transferred, it
+does not necessarily block until the data has been transferred, it
is possible to transfer an open file descriptor across an
.Dv AF_UNIX
domain socket
diff --git a/lib/libc/sys/vfork.2 b/lib/libc/sys/vfork.2
index 372725684141..498ee118984b 100644
--- a/lib/libc/sys/vfork.2
+++ b/lib/libc/sys/vfork.2
@@ -89,7 +89,7 @@ Be careful, also, to call
.Xr _exit 2
rather than
.Xr exit 3
-if you can't
+if you cannot
.Xr execve 2 ,
since
.Xr exit 3