summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjoel <joel@FreeBSD.org>2010-08-16 15:18:30 +0000
committerjoel <joel@FreeBSD.org>2010-08-16 15:18:30 +0000
commitdd1fff9bcb93c49e02a04bb712ecc2695db0c218 (patch)
treef1fb1550ad8fd503eb2a17d71116cdfebf902492 /lib
parentc239a236c133a4ec85da52df6f459b176073ffb5 (diff)
downloadFreeBSD-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')
-rw-r--r--lib/libbluetooth/bluetooth.32
-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
-rw-r--r--lib/libedit/editline.32
-rw-r--r--lib/libelf/elf.34
-rw-r--r--lib/libgeom/libgeom.32
-rw-r--r--lib/libgpib/gpib.32
-rw-r--r--lib/libgssapi/gss_accept_sec_context.32
-rw-r--r--lib/libgssapi/gss_acquire_cred.32
-rw-r--r--lib/libgssapi/gssapi.32
-rw-r--r--lib/libpmc/pmc.32
-rw-r--r--lib/libpmc/pmc.corei7.32
-rw-r--r--lib/libpmc/pmc.corei7uc.32
-rw-r--r--lib/libpmc/pmc.westmere.32
-rw-r--r--lib/libpmc/pmc.westmereuc.32
-rw-r--r--lib/libpmc/pmc_event_names_of_class.32
-rw-r--r--lib/libpmc/pmc_read.32
-rw-r--r--lib/libradius/libradius.32
-rw-r--r--lib/librpcsec_gss/rpcsec_gss.32
-rw-r--r--lib/libsdp/sdp.32
-rw-r--r--lib/libusb/libusb20.32
-rw-r--r--lib/libutil/quotafile.34
-rw-r--r--lib/msun/man/fdim.32
31 files changed, 37 insertions, 36 deletions
diff --git a/lib/libbluetooth/bluetooth.3 b/lib/libbluetooth/bluetooth.3
index d3faaf1..cf7e3ed 100644
--- a/lib/libbluetooth/bluetooth.3
+++ b/lib/libbluetooth/bluetooth.3
@@ -545,7 +545,7 @@ function performs Bluetooth inquiry.
The
.Fa devname
parameter specifies which local Bluetooth device should perform an inquiry.
-If not secified, i.e.
+If not specified, i.e.
.Dv NULL ,
then first available device will be used.
The
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
diff --git a/lib/libedit/editline.3 b/lib/libedit/editline.3
index 9794649..9661d66 100644
--- a/lib/libedit/editline.3
+++ b/lib/libedit/editline.3
@@ -738,7 +738,7 @@ and before a new line is to be tokenized.
.It Fn tok_line
Tokenize
.Fa li ,
-If successful, modify:
+if successful, modify
.Fa argv
to contain the words,
.Fa argc
diff --git a/lib/libelf/elf.3 b/lib/libelf/elf.3
index d852de1..e3e01bc 100644
--- a/lib/libelf/elf.3
+++ b/lib/libelf/elf.3
@@ -463,7 +463,7 @@ Close an ELF descriptor and release all its resources.
.It Fn elf_memory
Opens an
.Xr ar 1
-archive or ELF object present in a memory arena.
+archive or ELF object present in a memory area.
.It Fn elf_version
Sets the operating version.
.El
@@ -563,7 +563,7 @@ descriptor and can set the
member of the descriptor to point to a region of memory allocated
using
.Xr malloc 3 .
-It is the applications responsibility to free this arena, though the
+It is the applications responsibility to free this area, though the
library will reclaim the space used by the
.Vt Elf_Data
descriptor itself.
diff --git a/lib/libgeom/libgeom.3 b/lib/libgeom/libgeom.3
index d5682ab..04cf2fc 100644
--- a/lib/libgeom/libgeom.3
+++ b/lib/libgeom/libgeom.3
@@ -392,4 +392,4 @@ library appeared in
.Sh AUTHORS
.An Poul-Henning Kamp Aq phk@FreeBSD.org
.An Lukas Ertl Aq le@FreeBSD.org
-.An Pawel Jakub Dawidek pjd@FreeBSD.org
+.An Pawel Jakub Dawidek Aq pjd@FreeBSD.org
diff --git a/lib/libgpib/gpib.3 b/lib/libgpib/gpib.3
index 2b9072e..b587da6 100644
--- a/lib/libgpib/gpib.3
+++ b/lib/libgpib/gpib.3
@@ -524,7 +524,7 @@ is used to configure the parallel poll response to
.Fa v .
.Em This function is currently not implemented.
.Pp
-The fucntion
+The function
.Fn ibrd
is used to receive
.Fa cnt
diff --git a/lib/libgssapi/gss_accept_sec_context.3 b/lib/libgssapi/gss_accept_sec_context.3
index a4c219c..cd80db6 100644
--- a/lib/libgssapi/gss_accept_sec_context.3
+++ b/lib/libgssapi/gss_accept_sec_context.3
@@ -121,7 +121,7 @@ following restrictions apply to the output parameters:
.Pp
The value returned via the
.Fa time_rec
-parameter is undefined Unless the
+parameter is undefined unless the
accompanying
.Fa ret_flags
parameter contains the bit
diff --git a/lib/libgssapi/gss_acquire_cred.3 b/lib/libgssapi/gss_acquire_cred.3
index 5de9ea0..4b683e7 100644
--- a/lib/libgssapi/gss_acquire_cred.3
+++ b/lib/libgssapi/gss_acquire_cred.3
@@ -184,7 +184,7 @@ Type contained within desired_name parameter is not supported.
.It GSS_S_BAD_NAME
Value supplied for desired_name parameter is ill formed.
.It GSS_S_CREDENTIALS_EXPIRED
-The credentials could not be acquired Because they have expired.
+The credentials could not be acquired because they have expired.
.It GSS_S_NO_CRED
No credentials were found for the specified name.
.El
diff --git a/lib/libgssapi/gssapi.3 b/lib/libgssapi/gssapi.3
index 2ed54a9..f92da59 100644
--- a/lib/libgssapi/gssapi.3
+++ b/lib/libgssapi/gssapi.3
@@ -139,7 +139,7 @@ GSS-API Context-Level Routines:
.It gss_init_sec_context
Initiate a security context with a peer application
.It gss_accept_sec_context
- Accept a security context initiated by a peer application
+Accept a security context initiated by a peer application
.It gss_delete_sec_context
Discard a security context
.It gss_process_context_token
diff --git a/lib/libpmc/pmc.3 b/lib/libpmc/pmc.3
index 5e3236b..2403e64 100644
--- a/lib/libpmc/pmc.3
+++ b/lib/libpmc/pmc.3
@@ -48,7 +48,7 @@ Performance monitoring counters (PMCs) are represented by the library
using a software abstraction.
These
.Dq abstract
-PMCs can have one two scopes:
+PMCs can have two scopes:
.Bl -bullet
.It
System scope.
diff --git a/lib/libpmc/pmc.corei7.3 b/lib/libpmc/pmc.corei7.3
index ba973b7..679313f 100644
--- a/lib/libpmc/pmc.corei7.3
+++ b/lib/libpmc/pmc.corei7.3
@@ -993,7 +993,7 @@ Counting: Faulting executions of GETSEC/VM entry/VM Exit/MWait will not
count as retired instructions.
.It Li INST_RETIRED.X87
.Pq Event C0H , Umask 02H
-Counts the number of MMX instructions retired:.
+Counts the number of MMX instructions retired.
.It Li INST_RETIRED.MMX
.Pq Event C0H , Umask 04H
Counts the number of floating point computational operations retired:
diff --git a/lib/libpmc/pmc.corei7uc.3 b/lib/libpmc/pmc.corei7uc.3
index 2777c8e..a69eab7 100644
--- a/lib/libpmc/pmc.corei7uc.3
+++ b/lib/libpmc/pmc.corei7uc.3
@@ -434,7 +434,7 @@ Counts cycles all the entries in the DRAM channel 0 high priority queue are
occupied with isochronous read requests.
.It Li QMC_ISOC_FULL.READ.CH1
.Pq Event 28H , Umask 02H
-Counts cycles all the entries in the DRAM channel 1high priority queue are
+Counts cycles all the entries in the DRAM channel 1 high priority queue are
occupied with isochronous read requests.
.It Li QMC_ISOC_FULL.READ.CH2
.Pq Event 28H , Umask 04H
diff --git a/lib/libpmc/pmc.westmere.3 b/lib/libpmc/pmc.westmere.3
index af7838f..bd0244e 100644
--- a/lib/libpmc/pmc.westmere.3
+++ b/lib/libpmc/pmc.westmere.3
@@ -975,7 +975,7 @@ Counting: Faulting executions of GETSEC/VM entry/VM Exit/MWait will not
count as retired instructions.
.It Li INST_RETIRED.X87
.Pq Event C0H , Umask 02H
-Counts the number of floating point computational operations retired:
+Counts the number of floating point computational operations retired
floating point computational operations executed by the assist handler and
sub-operations of complex floating point instructions like transcendental
instructions.
diff --git a/lib/libpmc/pmc.westmereuc.3 b/lib/libpmc/pmc.westmereuc.3
index d8a4cef..c768daa 100644
--- a/lib/libpmc/pmc.westmereuc.3
+++ b/lib/libpmc/pmc.westmereuc.3
@@ -464,7 +464,7 @@ Counts cycles all the entries in the DRAM channel 0 high priority queue are
occupied with isochronous read requests.
.It Li QMC_ISOC_FULL.READ.CH1
.Pq Event 28H , Umask 02H
-Counts cycles all the entries in the DRAM channel 1high priority queue are
+Counts cycles all the entries in the DRAM channel 1 high priority queue are
occupied with isochronous read requests.
.It Li QMC_ISOC_FULL.READ.CH2
.Pq Event 28H , Umask 04H
diff --git a/lib/libpmc/pmc_event_names_of_class.3 b/lib/libpmc/pmc_event_names_of_class.3
index 5b2c89d..183f03f 100644
--- a/lib/libpmc/pmc_event_names_of_class.3
+++ b/lib/libpmc/pmc_event_names_of_class.3
@@ -68,7 +68,7 @@ Argument
.Fa cl
was invalid.
.It Bq Er ENOMEM
-Allocation of a memory arena to hold the result failed.
+Allocation of a memory area to hold the result failed.
.El
.Sh SEE ALSO
.Xr pmc 3 ,
diff --git a/lib/libpmc/pmc_read.3 b/lib/libpmc/pmc_read.3
index 8d718ca..d091716 100644
--- a/lib/libpmc/pmc_read.3
+++ b/lib/libpmc/pmc_read.3
@@ -46,7 +46,7 @@ These functions read and write the current value of a PMC.
.Pp
Function
.Fn pmc_read
-with read the current value of the PMC specified by argument
+will read the current value of the PMC specified by argument
.Fa pmc
and write it to the location specified by argument
.Fa value .
diff --git a/lib/libradius/libradius.3 b/lib/libradius/libradius.3
index 9a71521..7fc1162 100644
--- a/lib/libradius/libradius.3
+++ b/lib/libradius/libradius.3
@@ -464,7 +464,7 @@ subsequent library calls using the same handle.
To free the resources used by the RADIUS library, call
.Fn rad_close .
.Ss Server operation
-Server mode operates much alike to client mode, except packet send and receieve
+Server mode operates much alike to client mode, except packet send and receive
steps are swapped. To operate as server you should obtain server context with
.Fn rad_server_open
function, passing opened and bound UDP socket file descriptor as argument.
diff --git a/lib/librpcsec_gss/rpcsec_gss.3 b/lib/librpcsec_gss/rpcsec_gss.3
index 9b86f3e..bcbef7c 100644
--- a/lib/librpcsec_gss/rpcsec_gss.3
+++ b/lib/librpcsec_gss/rpcsec_gss.3
@@ -68,7 +68,7 @@ typedef enum {
.Ed
.It Vt rpc_gss_options_ret_t
This structure contains various optional values which are used while
-creating a security contect.
+creating a security context.
.Bd -literal
typedef struct {
int req_flags; /* GSS request bits */
diff --git a/lib/libsdp/sdp.3 b/lib/libsdp/sdp.3
index c51b6f9..de11534 100644
--- a/lib/libsdp/sdp.3
+++ b/lib/libsdp/sdp.3
@@ -270,7 +270,7 @@ Note: attributes are returned in the order they appear in the Service Search
Attribute Response.
SDP server could return several attributes for the same record.
In this case the order of the attributes will be: all attributes for the first
-records, then all attributes for the secord record etc.
+records, then all attributes for the second record etc.
.Pp
The
.Fn sdp_attr2desc
diff --git a/lib/libusb/libusb20.3 b/lib/libusb/libusb20.3
index 7896e8f0..a7a39ad 100644
--- a/lib/libusb/libusb20.3
+++ b/lib/libusb/libusb20.3
@@ -524,7 +524,7 @@ returns a zero terminated string describing the backend used.
.Pp
.
.Fn libusb20_dev_get_info
-retrives the BSD specific usb_device_info structure into the memory location given by
+retrieves the BSD specific usb_device_info structure into the memory location given by
.Fa pinfo .
The USB device given by
.Fa pdev
diff --git a/lib/libutil/quotafile.3 b/lib/libutil/quotafile.3
index 5702cec..8a78cd3 100644
--- a/lib/libutil/quotafile.3
+++ b/lib/libutil/quotafile.3
@@ -121,7 +121,7 @@ The
.Fn quota_on
function enables quotas for the filesystem associated with its
.Va qf
-argument which may have been opened
+argument which may have been opened with
.Dv O_RDONLY
or
.Dv O_RDWR .
@@ -138,7 +138,7 @@ The
.Fn quota_off
function disables quotas for the filesystem associated with its
.Va qf
-argument which may have been opened
+argument which may have been opened with
.Dv O_RDONLY
or
.Dv O_RDWR .
diff --git a/lib/msun/man/fdim.3 b/lib/msun/man/fdim.3
index 2de2e32..b96ba56 100644
--- a/lib/msun/man/fdim.3
+++ b/lib/msun/man/fdim.3
@@ -65,7 +65,7 @@ is an \*(Na, then an \*(Na is returned.
Otherwise, the result is
.Li +0.0 .
.Pp
-Overflow or underflow may occur iff the exact result is not
+Overflow or underflow may occur if the exact result is not
representable in the return type.
No other exceptions are raised.
.Sh SEE ALSO
OpenPOWER on IntegriCloud