diff options
author | joel <joel@FreeBSD.org> | 2010-08-16 15:18:30 +0000 |
---|---|---|
committer | joel <joel@FreeBSD.org> | 2010-08-16 15:18:30 +0000 |
commit | dd1fff9bcb93c49e02a04bb712ecc2695db0c218 (patch) | |
tree | f1fb1550ad8fd503eb2a17d71116cdfebf902492 /lib/libc | |
parent | c239a236c133a4ec85da52df6f459b176073ffb5 (diff) | |
download | FreeBSD-src-dd1fff9bcb93c49e02a04bb712ecc2695db0c218.zip FreeBSD-src-dd1fff9bcb93c49e02a04bb712ecc2695db0c218.tar.gz |
Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while
translating these manual pages. Minor corrections by me.
Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/dlopen.3 | 2 | ||||
-rw-r--r-- | lib/libc/net/inet6_rth_space.3 | 3 | ||||
-rw-r--r-- | lib/libc/net/sctp_send.3 | 2 | ||||
-rw-r--r-- | lib/libc/net/sctp_sendmsg.3 | 4 | ||||
-rw-r--r-- | lib/libc/stdlib/getopt_long.3 | 4 | ||||
-rw-r--r-- | lib/libc/sys/getfh.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/kldstat.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/ntp_adjtime.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/open.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/shm_open.2 | 2 |
10 files changed, 14 insertions, 13 deletions
diff --git a/lib/libc/gen/dlopen.3 b/lib/libc/gen/dlopen.3 index 45b0139..3da9b6e 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 2750170..a3db794 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 20344af..9acb616 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 42193e2..ddd88b4 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 352af08..72f6534 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 1488196..c8f6d9d 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 eb09a23..88f3781 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 65ff8a3..8ce78e7 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 04fa0fe..deca8bc 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 a586fe3..a2fa502 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 |