diff options
author | Glen Barber <gjb@FreeBSD.org> | 2012-05-11 20:06:46 +0000 |
---|---|---|
committer | Glen Barber <gjb@FreeBSD.org> | 2012-05-11 20:06:46 +0000 |
commit | a3fb6da9ba05cbeeab1d5bec46075916256d2fb0 (patch) | |
tree | 0b28f0bebde32579d2780e773f4990dfb45d3f30 /lib/libc | |
parent | 8a3beec66e8b6f0cb1451efcc8a0f55f3bad0614 (diff) | |
download | src-a3fb6da9ba05cbeeab1d5bec46075916256d2fb0.tar.gz src-a3fb6da9ba05cbeeab1d5bec46075916256d2fb0.zip |
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/locale/duplocale.3 | 4 | ||||
-rw-r--r-- | lib/libc/locale/freelocale.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/newlocale.3 | 4 | ||||
-rw-r--r-- | lib/libc/locale/querylocale.3 | 4 | ||||
-rw-r--r-- | lib/libc/locale/uselocale.3 | 2 | ||||
-rw-r--r-- | lib/libc/locale/xlocale.3 | 2 | ||||
-rw-r--r-- | lib/libc/net/sctp_connectx.3 | 2 | ||||
-rw-r--r-- | lib/libc/net/sctp_recvmsg.3 | 2 | ||||
-rw-r--r-- | lib/libc/net/sourcefilter.3 | 4 | ||||
-rw-r--r-- | lib/libc/posix1e/acl_delete_entry.3 | 2 | ||||
-rw-r--r-- | lib/libc/rpc/publickey.3 | 4 | ||||
-rw-r--r-- | lib/libc/stdlib/getenv.3 | 3 | ||||
-rw-r--r-- | lib/libc/stdlib/strfmon.3 | 4 | ||||
-rw-r--r-- | lib/libc/string/strlcpy.3 | 2 |
14 files changed, 21 insertions, 20 deletions
diff --git a/lib/libc/locale/duplocale.3 b/lib/libc/locale/duplocale.3 index 73c0b3e7d9bf..1e149c05d7cb 100644 --- a/lib/libc/locale/duplocale.3 +++ b/lib/libc/locale/duplocale.3 @@ -44,10 +44,10 @@ Duplicates an existing .Fa locale_t returning a new .Fa locale_t -that refers to the same locale values but has independent internal state. +that refers to the same locale values but has an independent internal state. Various functions, such as .Xr mblen 3 -require presistent state. +require a persistent state. These functions formerly used static variables and calls to them from multiple threads had undefined behavior. They now use fields in the diff --git a/lib/libc/locale/freelocale.3 b/lib/libc/locale/freelocale.3 index 8401803ba46b..26060e87731f 100644 --- a/lib/libc/locale/freelocale.3 +++ b/lib/libc/locale/freelocale.3 @@ -34,7 +34,7 @@ .Nd Frees a locale created with .Xr duplocale 3 or -.Xr newlocale 3 . +.Xr newlocale 3 .Sh LIBRARY .Lb libc .Sh SYNOPSIS diff --git a/lib/libc/locale/newlocale.3 b/lib/libc/locale/newlocale.3 index 599f148eeab8..e2d7ebbb0561 100644 --- a/lib/libc/locale/newlocale.3 +++ b/lib/libc/locale/newlocale.3 @@ -51,7 +51,7 @@ Any other components will be inherited from The .Fa mask is either -.Fa LC_ALL_MASK, +.Fa LC_ALL_MASK , indicating all possible locale components, or the logical OR of some combination of the following: .Bl -tag -width "LC_MESSAGES_MASK" -offset indent @@ -59,7 +59,7 @@ or the logical OR of some combination of the following: The locale for string collation routines. This controls alphabetic ordering in .Xr strcoll 3 - and +and .Xr strxfrm 3 . .It LC_CTYPE_MASK The locale for the diff --git a/lib/libc/locale/querylocale.3 b/lib/libc/locale/querylocale.3 index a9d018230f04..4f9775595e5f 100644 --- a/lib/libc/locale/querylocale.3 +++ b/lib/libc/locale/querylocale.3 @@ -32,7 +32,7 @@ .Os .Sh NAME .Nm querylocale -.Nd Look up the locale name for a specified category. +.Nd Look up the locale name for a specified category .Sh LIBRARY .Lb libc .Sh SYNOPSIS @@ -41,7 +41,7 @@ .Fn querylocale "int mask" "locale_t locale" .Sh DESCRIPTION Returns the name of the locale for the category specified by -.Fa mask. +.Fa mask . This possible values for the mask are the same as those in .Xr newlocale 3 . If more than one bit in the mask is set, the returned value is undefined. diff --git a/lib/libc/locale/uselocale.3 b/lib/libc/locale/uselocale.3 index 72847b371700..9b4f43038823 100644 --- a/lib/libc/locale/uselocale.3 +++ b/lib/libc/locale/uselocale.3 @@ -32,7 +32,7 @@ .Os .Sh NAME .Nm uselocale -.Nd Sets a thread-local locale. +.Nd Sets a thread-local locale .Sh LIBRARY .Lb libc .Sh SYNOPSIS diff --git a/lib/libc/locale/xlocale.3 b/lib/libc/locale/xlocale.3 index 11a392dca184..9648cc7a7926 100644 --- a/lib/libc/locale/xlocale.3 +++ b/lib/libc/locale/xlocale.3 @@ -32,7 +32,7 @@ .Os .Sh NAME .Nm xlocale -.Nd Thread-safe extended locale support. +.Nd Thread-safe extended locale support .Sh LIBRARY .Lb libc .Sh SYNOPSIS diff --git a/lib/libc/net/sctp_connectx.3 b/lib/libc/net/sctp_connectx.3 index 1851d4a32932..6ea1bb622f28 100644 --- a/lib/libc/net/sctp_connectx.3 +++ b/lib/libc/net/sctp_connectx.3 @@ -36,7 +36,7 @@ .Os .Sh NAME .Nm sctp_connectx -.Nd connect an SCTP socket with multiple destination addresses. +.Nd connect an SCTP socket with multiple destination addresses .Sh LIBRARY .Lb libc .Sh SYNOPSIS diff --git a/lib/libc/net/sctp_recvmsg.3 b/lib/libc/net/sctp_recvmsg.3 index 37323c871594..eda3e5cc34c4 100644 --- a/lib/libc/net/sctp_recvmsg.3 +++ b/lib/libc/net/sctp_recvmsg.3 @@ -66,7 +66,7 @@ For a one-to-many (SOCK_SEQPACKET) type socket, an endpoint may call .Fn sctp_recvmsg after having implicitly started an association via one of the send calls including -.Fn sctp_sendmsg +.Fn sctp_sendmsg , .Fn sendto and .Fn sendmsg . diff --git a/lib/libc/net/sourcefilter.3 b/lib/libc/net/sourcefilter.3 index c7293e05b9de..225b0209bd95 100644 --- a/lib/libc/net/sourcefilter.3 +++ b/lib/libc/net/sourcefilter.3 @@ -158,7 +158,7 @@ For the protocol-independent functions .Fn getsourcefilter and .Fn setsourcefilter , -the argument +the .Fa grouplen argument specifies the size of the structure pointed to by .Fa group . @@ -220,7 +220,7 @@ operation. .Sh SEE ALSO .Xr ip 4 , .Xr ip6 4 , -.Xr multicast 4, +.Xr multicast 4 , .Xr ifmcstat 8 .Rs .%A D. Thaler diff --git a/lib/libc/posix1e/acl_delete_entry.3 b/lib/libc/posix1e/acl_delete_entry.3 index 3705f07babac..b1bdc5ac74bd 100644 --- a/lib/libc/posix1e/acl_delete_entry.3 +++ b/lib/libc/posix1e/acl_delete_entry.3 @@ -30,7 +30,7 @@ .Os .Sh NAME .Nm acl_delete_entry , -.Nm acl_delete_entry_np , +.Nm acl_delete_entry_np .Nd delete an ACL entry from an ACL .Sh LIBRARY .Lb libc diff --git a/lib/libc/rpc/publickey.3 b/lib/libc/rpc/publickey.3 index d0ad6ccda8fb..ff8a615a28df 100644 --- a/lib/libc/rpc/publickey.3 +++ b/lib/libc/rpc/publickey.3 @@ -35,14 +35,14 @@ has an extra argument, which is used to decrypt the encrypted secret key stored in the database. Both routines return 1 if they are successful in finding the key, 0 otherwise. The keys are returned as -.Dv NULL Ns \-terminated , +.Dv NUL Ns \-terminated , hexadecimal strings. If the password supplied to .Fn getsecretkey fails to decrypt the secret key, the routine will return 1 but the .Fa secretkey argument will be a -.Dv NULL +.Dv NUL string .Pq Dq . .Sh SEE ALSO diff --git a/lib/libc/stdlib/getenv.3 b/lib/libc/stdlib/getenv.3 index bc87b9d54cbb..19496489457d 100644 --- a/lib/libc/stdlib/getenv.3 +++ b/lib/libc/stdlib/getenv.3 @@ -152,7 +152,8 @@ failed because is a .Dv NULL pointer, -.Fa string is without an +.Fa string +is without an .Dq Li \&= character or .Dq Li \&= diff --git a/lib/libc/stdlib/strfmon.3 b/lib/libc/stdlib/strfmon.3 index 11b8e211bf66..7a54f22bf25d 100644 --- a/lib/libc/stdlib/strfmon.3 +++ b/lib/libc/stdlib/strfmon.3 @@ -115,14 +115,14 @@ character is written. .El .Sh RETURN VALUES If the total number of resulting bytes including the terminating -.Dv NULL +.Dv NUL byte is not more than .Fa maxsize , .Fn strfmon returns the number of bytes placed into the array pointed to by .Fa s , not including the terminating -.Dv NULL +.Dv NUL byte. Otherwise, \-1 is returned, the contents of the array are indeterminate, diff --git a/lib/libc/string/strlcpy.3 b/lib/libc/string/strlcpy.3 index 19d36211853e..9ad663a23e85 100644 --- a/lib/libc/string/strlcpy.3 +++ b/lib/libc/string/strlcpy.3 @@ -169,7 +169,7 @@ if (strlcat(pname, file, sizeof(pname)) >= sizeof(pname)) .Ed .Pp Since it is known how many characters were copied the first time, things -can be sped up a bit by using a copy instead of an append +can be sped up a bit by using a copy instead of an append. .Bd -literal -offset indent char *dir, *file, pname[MAXPATHLEN]; size_t n; |