diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-03-09 01:27:38 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-03-09 01:27:38 +0000 |
commit | 72ba2a77b88b907e9b31ef46132925e728fddf42 (patch) | |
tree | d269a0649b542e39fa64a6950638c83d9daf88af /lib/libc/locale | |
parent | 39598284ddb4e3dd45ae0be32bc51e0733a06906 (diff) |
Stilistic improvement: use clean mdoc(7) .Qq enclosures rather than
(correct, but ugly) low-level roff(7) quoting of quote characters.
As a side effect, this avoids ugly formatting caused by a nasty mandoc(1)
bug with roff(7) quoting in mdoc(7) documents. Of course, that bug
will ultimately get fixed as well, but that can't be done quickly.
Reported by Tim van der Molen <tbvdm at xs4all dot nl>
ok jmc@
Diffstat (limited to 'lib/libc/locale')
-rw-r--r-- | lib/libc/locale/setlocale.3 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/locale/setlocale.3 b/lib/libc/locale/setlocale.3 index a9e5587a2b0..6bd8fe6f7f2 100644 --- a/lib/libc/locale/setlocale.3 +++ b/lib/libc/locale/setlocale.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: setlocale.3,v 1.12 2007/05/31 19:19:29 jmc Exp $ +.\" $OpenBSD: setlocale.3,v 1.13 2011/03/09 01:27:37 schwarze Exp $ .\" $NetBSD: setlocale.3,v 1.3 1997/07/14 23:19:47 kleink Exp $ .\" .\" Copyright (c) 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)setlocale.3 8.1 (Berkeley) 6/9/93 .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: March 9 2011 $ .Dt SETLOCALE 3 .Os .Sh NAME @@ -105,11 +105,11 @@ function. .Pp Only three locales are defined by default, the empty string -.Li "\&""\|"" +.Qq which denotes the native environment, and the -.Li "\&""C"" +.Qq C and -.Li "\&""POSIX"" +.Qq POSIX locales, which denote the C language environment. A .Fa locale @@ -119,7 +119,7 @@ causes .Fn setlocale to return the current locale. By default, C programs start in the -.Li "\&""C"" +.Qq C locale. The only function in the library that sets the locale is .Fn setlocale ; @@ -290,9 +290,9 @@ functions first appeared in .Bx 4.4 . .Sh BUGS The current implementation supports only the -.Li "\&""C"" +.Qq C and -.Li "\&""POSIX"" +.Qq POSIX locales for all but the .Dv LC_CTYPE locale. |