diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-07-05 03:34:35 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-07-05 03:34:35 +0000 |
commit | cf224c314fd2f250dcfa9fb91eca3e19a743b6cd (patch) | |
tree | 06d987d9fc961f2d5cb1ca3d44d968043e849486 /lib | |
parent | 232741fd79912d2b6d4bcd740d8f871191e18731 (diff) |
formatting nits
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/locale/nl_langinfo.3 | 4 | ||||
-rw-r--r-- | lib/libc/locale/setlocale.3 | 19 |
2 files changed, 13 insertions, 10 deletions
diff --git a/lib/libc/locale/nl_langinfo.3 b/lib/libc/locale/nl_langinfo.3 index ed7809fe7f3..6931205bf82 100644 --- a/lib/libc/locale/nl_langinfo.3 +++ b/lib/libc/locale/nl_langinfo.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: nl_langinfo.3,v 1.3 1996/08/19 08:28:21 tholo Exp $ +.\" $OpenBSD: nl_langinfo.3,v 1.4 1999/07/05 03:34:34 aaron Exp $ .\" .\" Written by J.T. Conklin <jtc@netbsd.org>. .\" Public domain. @@ -23,7 +23,7 @@ set by the program's locale. The names and values of .Fa item are defined in -.Aq langinfo.h . +.Aq Pa langinfo.h . .Sh RETURN VALUE .Fn nl_langinfo returns a pointer to an empty string if diff --git a/lib/libc/locale/setlocale.3 b/lib/libc/locale/setlocale.3 index 43d489f1c8f..dd5050947c4 100644 --- a/lib/libc/locale/setlocale.3 +++ b/lib/libc/locale/setlocale.3 @@ -56,7 +56,7 @@ function sets the C library's notion of natural language formatting style for particular sets of routines. Each such style is called a -.Sq locale +.Dq locale and is invoked using an appropriate name passed as a C string. The .Fn localeconv @@ -168,7 +168,7 @@ before the decimal point, except for currency values. .It Fa grouping The sizes of the groups of digits, except for currency values. This is a pointer to a vector of integers, each of size -.Va char , +.Li char , representing group size from low order digit groups to high order (right to left). The list may be terminated with 0 or @@ -191,7 +191,7 @@ Like .Fa grouping but for currency values. .It Fa positive_sign -The character used to denote nonnegative currency values, +The character used to denote non-negative currency values, usually the empty string. .It Fa negative_sign The character used to denote negative currency values, @@ -204,10 +204,10 @@ The number of digits after the decimal point in the local style for currency values. .It Fa p_cs_precedes 1 if the currency symbol precedes the currency value -for nonnegative values, 0 if it follows. +for non-negative values, 0 if it follows. .It Fa p_sep_by_space 1 if a space is inserted between the currency symbol -and the currency value for nonnegative values, 0 otherwise. +and the currency value for non-negative values, 0 otherwise. .It Fa n_cs_precedes Like .Fa p_cs_precedes @@ -219,9 +219,10 @@ but for negative values. .It Fa p_sign_posn The location of the .Fa positive_sign -with respect to a nonnegative quantity and the +with respect to a non-negative quantity and the .Fa currency_symbol , coded as follows: +.Pp .Bl -tag -width 3n -compact .It Li 0 Parentheses around the entire string. @@ -249,7 +250,7 @@ a value that is not in the current locale. A .Dv CHAR_MAX result similarly denotes an unavailable value. -.Sh "RETURN VALUES +.Sh RETURN VALUES The .Fn setlocale function returns @@ -296,7 +297,9 @@ The current implementation supports only the .Li "\&""C"" and .Li "\&""POSIX"" -locales for all but the LC_CTYPE locale. +locales for all but the +.Dv LC_CTYPE +locale. .Pp In spite of the gnarly currency support in .Fn localeconv , |