aboutsummaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJoel Dahl <joel@FreeBSD.org>2010-08-16 15:18:30 +0000
committerJoel Dahl <joel@FreeBSD.org>2010-08-16 15:18:30 +0000
commitc2025a76606b44c4d5367b7509fbc0285ae1e7f8 (patch)
treef1fb1550ad8fd503eb2a17d71116cdfebf902492 /lib/libc
parente49471b04b4bf0bfc58e2feeb0dd4208ea8f7c0d (diff)
downloadsrc-c2025a76606b44c4d5367b7509fbc0285ae1e7f8.tar.gz
src-c2025a76606b44c4d5367b7509fbc0285ae1e7f8.zip
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/dlopen.32
-rw-r--r--lib/libc/net/inet6_rth_space.33
-rw-r--r--lib/libc/net/sctp_send.32
-rw-r--r--lib/libc/net/sctp_sendmsg.34
-rw-r--r--lib/libc/stdlib/getopt_long.34
-rw-r--r--lib/libc/sys/getfh.22
-rw-r--r--lib/libc/sys/kldstat.22
-rw-r--r--lib/libc/sys/ntp_adjtime.22
-rw-r--r--lib/libc/sys/open.24
-rw-r--r--lib/libc/sys/shm_open.22
10 files changed, 14 insertions, 13 deletions
diff --git a/lib/libc/gen/dlopen.3 b/lib/libc/gen/dlopen.3
index 45b013974686..3da9b6e923d2 100644
--- a/lib/libc/gen/dlopen.3
+++ b/lib/libc/gen/dlopen.3
@@ -149,7 +149,7 @@ The same behaviour may be requested by
option of the static linker
.Xr ld 1 .
.It Dv RTLD_NOLOAD
-Ony return valid handle for the object if it is already loaded in
+Only return valid handle for the object if it is already loaded in
the process address space, otherwise
.Dv NULL
is returned.
diff --git a/lib/libc/net/inet6_rth_space.3 b/lib/libc/net/inet6_rth_space.3
index 2750170d33cd..a3db7942c6cd 100644
--- a/lib/libc/net/inet6_rth_space.3
+++ b/lib/libc/net/inet6_rth_space.3
@@ -101,7 +101,8 @@ The
.Fn inet6_rth_init
function initializes the pre-allocated buffer pointed to by
.Fa bp
-to contain a routing header of the specified type The
+to contain a routing header of the specified type.
+The
.Fa bp_len
argument is used to verify that the buffer is large enough.
The caller must allocate the buffer pointed to by bp.
diff --git a/lib/libc/net/sctp_send.3 b/lib/libc/net/sctp_send.3
index 20344afbbe91..9acb616be5bb 100644
--- a/lib/libc/net/sctp_send.3
+++ b/lib/libc/net/sctp_send.3
@@ -187,7 +187,7 @@ The
.Fa sinfo->sinfo_timetolive
argument is then a number of milliseconds for which the data is
attempted to be transmitted.
-If that many milliseconds ellapse
+If that many milliseconds elapse
and the peer has not acknowledged the data, the data will be
skipped and no longer transmitted.
Note that this policy does
diff --git a/lib/libc/net/sctp_sendmsg.3 b/lib/libc/net/sctp_sendmsg.3
index 42193e247815..ddd88b43c9f9 100644
--- a/lib/libc/net/sctp_sendmsg.3
+++ b/lib/libc/net/sctp_sendmsg.3
@@ -180,7 +180,7 @@ to find the association but also as the actual address to send to.
.Pp
For a one-to-many type (SOCK_SEQPACKET) socket the flag
.Dv SCTP_SENDALL
-can be used as a convient way to make one send call and have
+can be used as a convenient way to make one send call and have
all associations that are under the socket get a copy of the message.
Note that this mechanism is quite efficient and makes only one actual
copy of the data which is shared by all the associations for sending.
@@ -199,7 +199,7 @@ The
.Fa timetolive
argument is then a number of milliseconds for which the data is
attempted to be transmitted.
-If that many milliseconds ellapse
+If that many milliseconds elapse
and the peer has not acknowledged the data, the data will be
skipped and no longer transmitted.
Note that this policy does
diff --git a/lib/libc/stdlib/getopt_long.3 b/lib/libc/stdlib/getopt_long.3
index 352af083f924..72f653450b25 100644
--- a/lib/libc/stdlib/getopt_long.3
+++ b/lib/libc/stdlib/getopt_long.3
@@ -469,9 +469,9 @@ The
.Fn getopt_long
and
.Fn getopt_long_only
-functions first appeared in
+functions first appeared in the
.Tn GNU
-libiberty.
+libiberty library.
The first
.Bx
implementation of
diff --git a/lib/libc/sys/getfh.2 b/lib/libc/sys/getfh.2
index 14881966a700..c8f6d9d01ce8 100644
--- a/lib/libc/sys/getfh.2
+++ b/lib/libc/sys/getfh.2
@@ -69,7 +69,7 @@ These system calls are restricted to the superuser.
The
.Fn getfh
and
-.Fn lgetfgh
+.Fn lgetfh
system calls
fail if one or more of the following are true:
.Bl -tag -width Er
diff --git a/lib/libc/sys/kldstat.2 b/lib/libc/sys/kldstat.2
index eb09a23dd7da..88f3781f482c 100644
--- a/lib/libc/sys/kldstat.2
+++ b/lib/libc/sys/kldstat.2
@@ -129,6 +129,6 @@ The
interface first appeared in
.Fx 3.0 .
.Sh BUGS
-The pathname many not be accurate if the file system mounts have
+The pathname may not be accurate if the file system mounts have
changed since the module was loaded, or if this function is called
within a chrooted environment.
diff --git a/lib/libc/sys/ntp_adjtime.2 b/lib/libc/sys/ntp_adjtime.2
index 65ff8a3f0dfe..8ce78e7fb86e 100644
--- a/lib/libc/sys/ntp_adjtime.2
+++ b/lib/libc/sys/ntp_adjtime.2
@@ -284,7 +284,7 @@ At the end of the day, second 23:59:59 will be skipped.
.It TIME_OOP
Leap second in progress.
.It TIME_WAIT
-Leap second has occurred within the last few seconds..
+Leap second has occurred within the last few seconds.
.It TIME_ERROR
Clock not synchronized.
.El
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2
index 04fa0fe7ace2..deca8bcda172 100644
--- a/lib/libc/sys/open.2
+++ b/lib/libc/sys/open.2
@@ -296,9 +296,9 @@ created has its immutable flag set, see the
.Xr chflags 2
manual page for more information.
.It Bq Er EPERM
-.Dv The named file has its immutable flag set and the file is to be modified.
+The named file has its immutable flag set and the file is to be modified.
.It Bq Er EPERM
-.Dv The named file has its append-only flag set, the file is to be modified, and
+The named file has its append-only flag set, the file is to be modified, and
.Dv O_TRUNC
is specified or
.Dv O_APPEND
diff --git a/lib/libc/sys/shm_open.2 b/lib/libc/sys/shm_open.2
index a586fe33199b..a2fa502ce9a8 100644
--- a/lib/libc/sys/shm_open.2
+++ b/lib/libc/sys/shm_open.2
@@ -231,7 +231,7 @@ is specified and the named shared memory object does not exist.
.Dv O_CREAT
and
.Dv O_EXCL
-are specified and the named shared memory object dies exist.
+are specified and the named shared memory object does exist.
.It Bq Er EACCES
The required permissions (for reading or reading and writing) are denied.
.El