summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2010-03-26 19:30:42 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2010-03-26 19:30:42 +0000
commit0e101a71f9c747c1bf5f853b2faba8c94458bab9 (patch)
treeb1f8223f0d93941122cb0666f5713cfccbf9a879 /lib/libc
parenta5a79a7af92e40132a0b0e09c9fc0eaa57985b9c (diff)
dispense with some wacky escape sequences;
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/scandir.36
-rw-r--r--lib/libc/locale/wcrtomb.36
-rw-r--r--lib/libc/stdio/fopen.38
-rw-r--r--lib/libc/stdio/printf.38
4 files changed, 14 insertions, 14 deletions
diff --git a/lib/libc/gen/scandir.3 b/lib/libc/gen/scandir.3
index 0d2ab293a3e..47f48b7f78f 100644
--- a/lib/libc/gen/scandir.3
+++ b/lib/libc/gen/scandir.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: scandir.3,v 1.9 2007/05/31 19:19:28 jmc Exp $
+.\" $OpenBSD: scandir.3,v 1.10 2010/03/26 19:30:40 jmc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: March 26 2010 $
.Dt SCANDIR 3
.Os
.Sh NAME
@@ -38,7 +38,7 @@
.Fd #include <sys/types.h>
.Fd #include <dirent.h>
.Ft int
-.Fn scandir "const char *dirname" "struct dirent ***namelist" "int \\*(lp*select\\*(rp\\*(lpstruct dirent *\\*(rp" "int \\*(lp*compar\\*(rp\\*(lpconst void *, const void *\\*(rp"
+.Fn scandir "const char *dirname" "struct dirent ***namelist" "int \*(lp*select\*(rp\*(lpstruct dirent *\*(rp" "int \*(lp*compar\*(rp\*(lpconst void *, const void *\*(rp"
.Ft int
.Fn alphasort "const void *d1" "const void *d2"
.Sh DESCRIPTION
diff --git a/lib/libc/locale/wcrtomb.3 b/lib/libc/locale/wcrtomb.3
index e2675d6b390..b264b6372ec 100644
--- a/lib/libc/locale/wcrtomb.3
+++ b/lib/libc/locale/wcrtomb.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wcrtomb.3,v 1.3 2007/05/31 19:19:29 jmc Exp $
+.\" $OpenBSD: wcrtomb.3,v 1.4 2010/03/26 19:30:41 jmc Exp $
.\" $NetBSD: wcrtomb.3,v 1.4 2003/09/08 17:54:31 wiz Exp $
.\"
.\" Copyright (c)2002 Citrus Project,
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: March 26 2010 $
.Dt WCRTOMB 3
.Os
.\" ----------------------------------------------------------------------
@@ -77,7 +77,7 @@ just places
into an initial state.
It is equivalent to the following call:
.Bd -literal -offset indent
-wcrtomb(buf, L'\\0', ps);
+wcrtomb(buf, L'\e0', ps);
.Ed
.Pp
Here,
diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3
index fb340b65096..be51398d27e 100644
--- a/lib/libc/stdio/fopen.3
+++ b/lib/libc/stdio/fopen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fopen.3,v 1.21 2009/09/10 16:09:22 jmc Exp $
+.\" $OpenBSD: fopen.3,v 1.22 2010/03/26 19:30:41 jmc Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 10 2009 $
+.Dd $Mdocdate: March 26 2010 $
.Dt FOPEN 3
.Os
.Sh NAME
@@ -103,7 +103,7 @@ to be forced to the current end-of-file, regardless of intervening
repositioning of the stream.
.Pp
Any created files will have mode
-.Pf \\*q Dv S_IRUSR
+.Pf \*q Dv S_IRUSR
\&|
.Dv S_IWUSR
\&|
@@ -113,7 +113,7 @@ Any created files will have mode
\&|
.Dv S_IROTH
\&|
-.Dv S_IWOTH Ns \\*q
+.Dv S_IWOTH Ns \*q
.Pq Li 0666 ,
as modified by the process'
umask value (see
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3
index 91e10c45456..bcfc68a1063 100644
--- a/lib/libc/stdio/printf.3
+++ b/lib/libc/stdio/printf.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: printf.3,v 1.57 2008/09/15 19:22:32 martynas Exp $
+.\" $OpenBSD: printf.3,v 1.58 2010/03/26 19:30:41 jmc Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
.\"
.\" @(#)printf.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: September 15 2008 $
+.Dd $Mdocdate: March 26 2010 $
.Dt PRINTF 3
.Os
.Sh NAME
@@ -448,7 +448,7 @@ The
.Li double
argument is rounded and converted in the style
.Sm off
-.Pf [\-]d Cm \&. No ddd Cm e No \\*(Pmdd
+.Pf [\-]d Cm \&. No ddd Cm e No \*(Pmdd
.Sm on
where there is one digit before the
decimal-point character
@@ -539,7 +539,7 @@ The
.Li double
argument is rounded and converted to hexadecimal notation in the style
.Sm off
-.Pf [\-]0xh Cm \&. No hhh Cm p No [\\*(Pm]d
+.Pf [\-]0xh Cm \&. No hhh Cm p No [\*(Pm]d
.Sm on
where the number of digits after the hexadecimal-point character
is equal to the precision specification.