summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2011-03-09 01:27:37 +0000
committerschwarze <schwarze@openbsd.org>2011-03-09 01:27:37 +0000
commit7d298bb44c2b9fdda4ebba72594d60d44796f55c (patch)
treeb75cab147e2e15874abeeec1d9a16a7089ec6b92
parentmake similar code .. more similar (diff)
downloadwireguard-openbsd-7d298bb44c2b9fdda4ebba72594d60d44796f55c.tar.xz
wireguard-openbsd-7d298bb44c2b9fdda4ebba72594d60d44796f55c.zip
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@
-rw-r--r--lib/libc/locale/setlocale.316
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.