From 2b7c3ac1a78656e1ad7e45f24ecbff6f63f289e4 Mon Sep 17 00:00:00 2001 From: tedu <> Date: Wed, 5 Jun 2013 03:39:23 +0000 Subject: Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze --- src/lib/libc/string/bcmp.3 | 6 +++--- src/lib/libc/string/bcopy.3 | 6 +++--- src/lib/libc/string/bm.3 | 8 ++++---- src/lib/libc/string/bstring.3 | 6 +++--- src/lib/libc/string/bzero.3 | 6 +++--- src/lib/libc/string/ffs.3 | 6 +++--- src/lib/libc/string/memccpy.3 | 6 +++--- src/lib/libc/string/memchr.3 | 6 +++--- src/lib/libc/string/memcmp.3 | 6 +++--- src/lib/libc/string/memcpy.3 | 6 +++--- src/lib/libc/string/memmove.3 | 6 +++--- src/lib/libc/string/memset.3 | 6 +++--- src/lib/libc/string/stpcpy.3 | 6 +++--- src/lib/libc/string/strcasecmp.3 | 6 +++--- src/lib/libc/string/strcat.3 | 6 +++--- src/lib/libc/string/strchr.3 | 6 +++--- src/lib/libc/string/strcmp.3 | 6 +++--- src/lib/libc/string/strcoll.3 | 6 +++--- src/lib/libc/string/strcpy.3 | 6 +++--- src/lib/libc/string/strcspn.3 | 6 +++--- src/lib/libc/string/strdup.3 | 6 +++--- src/lib/libc/string/strerror.3 | 6 +++--- src/lib/libc/string/string.3 | 6 +++--- src/lib/libc/string/strlcpy.3 | 6 +++--- src/lib/libc/string/strlen.3 | 6 +++--- src/lib/libc/string/strmode.3 | 6 +++--- src/lib/libc/string/strpbrk.3 | 6 +++--- src/lib/libc/string/strrchr.3 | 6 +++--- src/lib/libc/string/strsep.3 | 6 +++--- src/lib/libc/string/strsignal.3 | 6 +++--- src/lib/libc/string/strspn.3 | 6 +++--- src/lib/libc/string/strstr.3 | 6 +++--- src/lib/libc/string/strtok.3 | 6 +++--- src/lib/libc/string/strxfrm.3 | 6 +++--- src/lib/libc/string/swab.3 | 6 +++--- src/lib/libc/string/wcscasecmp.3 | 6 +++--- src/lib/libc/string/wcscat.3 | 6 +++--- src/lib/libc/string/wcschr.3 | 6 +++--- src/lib/libc/string/wcscmp.3 | 6 +++--- src/lib/libc/string/wcscpy.3 | 6 +++--- src/lib/libc/string/wcscspn.3 | 6 +++--- src/lib/libc/string/wcslcpy.3 | 6 +++--- src/lib/libc/string/wcslen.3 | 6 +++--- src/lib/libc/string/wcspbrk.3 | 6 +++--- src/lib/libc/string/wcsrchr.3 | 6 +++--- src/lib/libc/string/wcsspn.3 | 6 +++--- src/lib/libc/string/wcsstr.3 | 6 +++--- src/lib/libc/string/wmemchr.3 | 6 +++--- src/lib/libc/string/wmemcmp.3 | 6 +++--- src/lib/libc/string/wmemcpy.3 | 6 +++--- src/lib/libc/string/wmemmove.3 | 6 +++--- src/lib/libc/string/wmemset.3 | 6 +++--- 52 files changed, 157 insertions(+), 157 deletions(-) (limited to 'src/lib/libc/string') diff --git a/src/lib/libc/string/bcmp.3 b/src/lib/libc/string/bcmp.3 index 1660b4356b..52584b4b83 100644 --- a/src/lib/libc/string/bcmp.3 +++ b/src/lib/libc/string/bcmp.3 @@ -27,9 +27,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: bcmp.3,v 1.9 2011/07/25 00:38:52 schwarze Exp $ +.\" $OpenBSD: bcmp.3,v 1.10 2013/06/05 03:39:23 tedu Exp $ .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt BCMP 3 .Os .Sh NAME @@ -37,7 +37,7 @@ .Nm timingsafe_bcmp .Nd compare byte string .Sh SYNOPSIS -.Fd #include +.In string.h .Ft int .Fn bcmp "const void *b1" "const void *b2" "size_t len" .Ft int diff --git a/src/lib/libc/string/bcopy.3 b/src/lib/libc/string/bcopy.3 index 3beaf09aca..94a8231fcb 100644 --- a/src/lib/libc/string/bcopy.3 +++ b/src/lib/libc/string/bcopy.3 @@ -28,16 +28,16 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: bcopy.3,v 1.10 2011/07/25 00:38:52 schwarze Exp $ +.\" $OpenBSD: bcopy.3,v 1.11 2013/06/05 03:39:23 tedu Exp $ .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt BCOPY 3 .Os .Sh NAME .Nm bcopy .Nd copy bytes .Sh SYNOPSIS -.Fd #include +.In string.h .Ft void .Fn bcopy "const void *src" "void *dst" "size_t len" .Sh DESCRIPTION diff --git a/src/lib/libc/string/bm.3 b/src/lib/libc/string/bm.3 index 6c74848ecc..d492806196 100644 --- a/src/lib/libc/string/bm.3 +++ b/src/lib/libc/string/bm.3 @@ -28,9 +28,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: bm.3,v 1.10 2011/07/25 00:38:52 schwarze Exp $ +.\" $OpenBSD: bm.3,v 1.11 2013/06/05 03:39:23 tedu Exp $ .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt BM 3 .Os .Sh NAME @@ -39,8 +39,8 @@ .Nm bm_free .Nd Boyer-Moore string search .Sh SYNOPSIS -.Fd #include -.Fd #include +.In sys/types.h +.In bm.h .Ft bm_pat * .Fn bm_comp "const unsigned char *pattern" "size_t patlen" \ "const unsigned char freq[256]" diff --git a/src/lib/libc/string/bstring.3 b/src/lib/libc/string/bstring.3 index c44c5386c6..d88b78f504 100644 --- a/src/lib/libc/string/bstring.3 +++ b/src/lib/libc/string/bstring.3 @@ -27,16 +27,16 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: bstring.3,v 1.9 2011/07/25 00:38:52 schwarze Exp $ +.\" $OpenBSD: bstring.3,v 1.10 2013/06/05 03:39:23 tedu Exp $ .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt BSTRING 3 .Os .Sh NAME .Nm bstring .Nd byte string operations .Sh SYNOPSIS -.Fd #include +.In string.h .Ft int .Fn bcmp "const void *b1" "const void *b2" "size_t len" .Ft void diff --git a/src/lib/libc/string/bzero.3 b/src/lib/libc/string/bzero.3 index c79470377f..1fd5da81b5 100644 --- a/src/lib/libc/string/bzero.3 +++ b/src/lib/libc/string/bzero.3 @@ -27,16 +27,16 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: bzero.3,v 1.8 2011/07/25 00:38:52 schwarze Exp $ +.\" $OpenBSD: bzero.3,v 1.9 2013/06/05 03:39:23 tedu Exp $ .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt BZERO 3 .Os .Sh NAME .Nm bzero .Nd write zeroes to a byte string .Sh SYNOPSIS -.Fd #include +.In string.h .Ft void .Fn bzero "void *b" "size_t len" .Sh DESCRIPTION diff --git a/src/lib/libc/string/ffs.3 b/src/lib/libc/string/ffs.3 index eea0994cb1..c0ed7baa9e 100644 --- a/src/lib/libc/string/ffs.3 +++ b/src/lib/libc/string/ffs.3 @@ -27,16 +27,16 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: ffs.3,v 1.8 2012/01/14 13:31:32 jmc Exp $ +.\" $OpenBSD: ffs.3,v 1.9 2013/06/05 03:39:23 tedu Exp $ .\" -.Dd $Mdocdate: January 14 2012 $ +.Dd $Mdocdate: June 5 2013 $ .Dt FFS 3 .Os .Sh NAME .Nm ffs .Nd find first bit set in a bit string .Sh SYNOPSIS -.Fd #include +.In string.h .Ft int .Fn ffs "int value" .Sh DESCRIPTION diff --git a/src/lib/libc/string/memccpy.3 b/src/lib/libc/string/memccpy.3 index f8f880e3b1..076e8f64ab 100644 --- a/src/lib/libc/string/memccpy.3 +++ b/src/lib/libc/string/memccpy.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: memccpy.3,v 1.10 2011/07/25 00:38:52 schwarze Exp $ +.\" $OpenBSD: memccpy.3,v 1.11 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,14 +29,14 @@ .\" .\" @(#)memccpy.3 8.1 (Berkeley) 6/9/93 .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt MEMCCPY 3 .Os .Sh NAME .Nm memccpy .Nd copy string until character found .Sh SYNOPSIS -.Fd #include +.In string.h .Ft void * .Fn memccpy "void *dst" "const void *src" "int c" "size_t len" .Sh DESCRIPTION diff --git a/src/lib/libc/string/memchr.3 b/src/lib/libc/string/memchr.3 index 56a4e4780e..1373e14735 100644 --- a/src/lib/libc/string/memchr.3 +++ b/src/lib/libc/string/memchr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: memchr.3,v 1.10 2011/07/25 00:38:52 schwarze Exp $ +.\" $OpenBSD: memchr.3,v 1.11 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,14 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt MEMCHR 3 .Os .Sh NAME .Nm memchr .Nd locate byte in byte string .Sh SYNOPSIS -.Fd #include +.In string.h .Ft void * .Fn memchr "const void *b" "int c" "size_t len" .Ft void * diff --git a/src/lib/libc/string/memcmp.3 b/src/lib/libc/string/memcmp.3 index 951a04ed8a..ebd838825a 100644 --- a/src/lib/libc/string/memcmp.3 +++ b/src/lib/libc/string/memcmp.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: memcmp.3,v 1.7 2011/07/25 00:38:52 schwarze Exp $ +.\" $OpenBSD: memcmp.3,v 1.8 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,14 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt MEMCMP 3 .Os .Sh NAME .Nm memcmp .Nd compare byte string .Sh SYNOPSIS -.Fd #include +.In string.h .Ft int .Fn memcmp "const void *b1" "const void *b2" "size_t len" .Sh DESCRIPTION diff --git a/src/lib/libc/string/memcpy.3 b/src/lib/libc/string/memcpy.3 index 51c458ee3e..8df2a785b9 100644 --- a/src/lib/libc/string/memcpy.3 +++ b/src/lib/libc/string/memcpy.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: memcpy.3,v 1.9 2013/06/04 03:02:09 deraadt Exp $ +.\" $OpenBSD: memcpy.3,v 1.10 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,14 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 4 2013 $ +.Dd $Mdocdate: June 5 2013 $ .Dt MEMCPY 3 .Os .Sh NAME .Nm memcpy .Nd copy bytes .Sh SYNOPSIS -.Fd #include +.In string.h .Ft void * .Fn memcpy "void *dst" "const void *src" "size_t len" .Sh DESCRIPTION diff --git a/src/lib/libc/string/memmove.3 b/src/lib/libc/string/memmove.3 index ae8569a1c7..8665e4abcf 100644 --- a/src/lib/libc/string/memmove.3 +++ b/src/lib/libc/string/memmove.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: memmove.3,v 1.8 2011/07/25 00:38:52 schwarze Exp $ +.\" $OpenBSD: memmove.3,v 1.9 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,14 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt MEMMOVE 3 .Os .Sh NAME .Nm memmove .Nd copy bytes .Sh SYNOPSIS -.Fd #include +.In string.h .Ft void * .Fn memmove "void *dst" "const void *src" "size_t len" .Sh DESCRIPTION diff --git a/src/lib/libc/string/memset.3 b/src/lib/libc/string/memset.3 index db94cb9ba6..ac5b7e90ad 100644 --- a/src/lib/libc/string/memset.3 +++ b/src/lib/libc/string/memset.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: memset.3,v 1.7 2011/07/25 00:38:52 schwarze Exp $ +.\" $OpenBSD: memset.3,v 1.8 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,14 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt MEMSET 3 .Os .Sh NAME .Nm memset .Nd write a byte to byte string .Sh SYNOPSIS -.Fd #include +.In string.h .Ft void * .Fn memset "void *b" "int c" "size_t len" .Sh DESCRIPTION diff --git a/src/lib/libc/string/stpcpy.3 b/src/lib/libc/string/stpcpy.3 index 447bfc20a9..ed1b830b56 100644 --- a/src/lib/libc/string/stpcpy.3 +++ b/src/lib/libc/string/stpcpy.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: stpcpy.3,v 1.2 2012/01/17 08:12:12 jmc Exp $ +.\" $OpenBSD: stpcpy.3,v 1.3 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 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: January 17 2012 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STPCPY 3 .Os .Sh NAME @@ -39,7 +39,7 @@ .Nm stpncpy .Nd copy strings .Sh SYNOPSIS -.Fd #include +.In string.h .Ft char * .Fn stpcpy "char *dst" "const char *src" .Ft char * diff --git a/src/lib/libc/string/strcasecmp.3 b/src/lib/libc/string/strcasecmp.3 index 0900c8a97a..8bd7387dc5 100644 --- a/src/lib/libc/string/strcasecmp.3 +++ b/src/lib/libc/string/strcasecmp.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strcasecmp.3,v 1.11 2011/07/25 00:38:52 schwarze Exp $ +.\" $OpenBSD: strcasecmp.3,v 1.12 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -31,7 +31,7 @@ .\" .\" @(#)strcasecmp.3 8.1 (Berkeley) 6/9/93 .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STRCASECMP 3 .Os .Sh NAME @@ -39,7 +39,7 @@ .Nm strncasecmp .Nd compare strings, ignoring case .Sh SYNOPSIS -.Fd #include +.In string.h .Ft int .Fn strcasecmp "const char *s1" "const char *s2" .Ft int diff --git a/src/lib/libc/string/strcat.3 b/src/lib/libc/string/strcat.3 index 81aae19a63..79302dba04 100644 --- a/src/lib/libc/string/strcat.3 +++ b/src/lib/libc/string/strcat.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strcat.3,v 1.13 2011/07/25 00:38:52 schwarze Exp $ +.\" $OpenBSD: strcat.3,v 1.14 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 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: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STRCAT 3 .Os .Sh NAME @@ -39,7 +39,7 @@ .Nm strncat .Nd concatenate strings .Sh SYNOPSIS -.Fd #include +.In string.h .Ft char * .Fn strcat "char *s" "const char *append" .Ft char * diff --git a/src/lib/libc/string/strchr.3 b/src/lib/libc/string/strchr.3 index d3194dffab..eb9ac8e833 100644 --- a/src/lib/libc/string/strchr.3 +++ b/src/lib/libc/string/strchr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strchr.3,v 1.10 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: strchr.3,v 1.11 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 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: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STRCHR 3 .Os .Sh NAME @@ -39,7 +39,7 @@ .Nm index .Nd locate first occurrence of a character in a string .Sh SYNOPSIS -.Fd #include +.In string.h .Ft char * .Fn strchr "const char *s" "int c" .Ft char * diff --git a/src/lib/libc/string/strcmp.3 b/src/lib/libc/string/strcmp.3 index 5b0794208a..156021b08c 100644 --- a/src/lib/libc/string/strcmp.3 +++ b/src/lib/libc/string/strcmp.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strcmp.3,v 1.12 2011/07/25 07:51:30 jmc Exp $ +.\" $OpenBSD: strcmp.3,v 1.13 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 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: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STRCMP 3 .Os .Sh NAME @@ -39,7 +39,7 @@ .Nm strncmp .Nd compare strings .Sh SYNOPSIS -.Fd #include +.In string.h .Ft int .Fn strcmp "const char *s1" "const char *s2" .Ft int diff --git a/src/lib/libc/string/strcoll.3 b/src/lib/libc/string/strcoll.3 index 72e398c44c..d421200b62 100644 --- a/src/lib/libc/string/strcoll.3 +++ b/src/lib/libc/string/strcoll.3 @@ -29,16 +29,16 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: strcoll.3,v 1.8 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: strcoll.3,v 1.9 2013/06/05 03:39:23 tedu Exp $ .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STRCOLL 3 .Os .Sh NAME .Nm strcoll .Nd compare strings according to current collation .Sh SYNOPSIS -.Fd #include +.In string.h .Ft int .Fn strcoll "const char *s1" "const char *s2" .Sh DESCRIPTION diff --git a/src/lib/libc/string/strcpy.3 b/src/lib/libc/string/strcpy.3 index 400eeee622..11f996a4ea 100644 --- a/src/lib/libc/string/strcpy.3 +++ b/src/lib/libc/string/strcpy.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strcpy.3,v 1.16 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: strcpy.3,v 1.17 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 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: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STRCPY 3 .Os .Sh NAME @@ -39,7 +39,7 @@ .Nm strncpy .Nd copy strings .Sh SYNOPSIS -.Fd #include +.In string.h .Ft char * .Fn strcpy "char *dst" "const char *src" .Ft char * diff --git a/src/lib/libc/string/strcspn.3 b/src/lib/libc/string/strcspn.3 index 70c8ef7612..07eb9ca26f 100644 --- a/src/lib/libc/string/strcspn.3 +++ b/src/lib/libc/string/strcspn.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strcspn.3,v 1.10 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: strcspn.3,v 1.11 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,14 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STRCSPN 3 .Os .Sh NAME .Nm strcspn .Nd span the complement of a string .Sh SYNOPSIS -.Fd #include +.In string.h .Ft size_t .Fn strcspn "const char *s" "const char *charset" .Sh DESCRIPTION diff --git a/src/lib/libc/string/strdup.3 b/src/lib/libc/string/strdup.3 index 45a7bd1826..2d7fa0bb96 100644 --- a/src/lib/libc/string/strdup.3 +++ b/src/lib/libc/string/strdup.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strdup.3,v 1.19 2011/12/08 08:06:19 lum Exp $ +.\" $OpenBSD: strdup.3,v 1.20 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)strdup.3 8.1 (Berkeley) 6/9/93 .\" -.Dd $Mdocdate: December 8 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STRDUP 3 .Os .Sh NAME @@ -37,7 +37,7 @@ .Nm strndup .Nd save a copy of a string .Sh SYNOPSIS -.Fd #include +.In string.h .Ft char * .Fn strdup "const char *s" .Ft char * diff --git a/src/lib/libc/string/strerror.3 b/src/lib/libc/string/strerror.3 index bab48af308..5b59235ef6 100644 --- a/src/lib/libc/string/strerror.3 +++ b/src/lib/libc/string/strerror.3 @@ -29,16 +29,16 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: strerror.3,v 1.11 2012/03/26 05:07:38 guenther Exp $ +.\" $OpenBSD: strerror.3,v 1.12 2013/06/05 03:39:23 tedu Exp $ .\" -.Dd $Mdocdate: March 26 2012 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STRERROR 3 .Os .Sh NAME .Nm strerror .Nd get error message string .Sh SYNOPSIS -.Fd #include +.In string.h .Ft char * .Fn strerror "int errnum" .Ft int diff --git a/src/lib/libc/string/string.3 b/src/lib/libc/string/string.3 index 4d47ad444d..2373d1fb9c 100644 --- a/src/lib/libc/string/string.3 +++ b/src/lib/libc/string/string.3 @@ -27,16 +27,16 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: string.3,v 1.12 2007/05/31 19:19:32 jmc Exp $ +.\" $OpenBSD: string.3,v 1.13 2013/06/05 03:39:23 tedu Exp $ .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STRING 3 .Os .Sh NAME .Nm string .Nd string specific functions .Sh SYNOPSIS -.Fd #include +.In string.h .Ft char * .Fn strcat "char *s" "const char *append" .Ft char * diff --git a/src/lib/libc/string/strlcpy.3 b/src/lib/libc/string/strlcpy.3 index acce0f7d43..3c0eb2b9a9 100644 --- a/src/lib/libc/string/strlcpy.3 +++ b/src/lib/libc/string/strlcpy.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strlcpy.3,v 1.22 2012/04/03 14:01:55 jmc Exp $ +.\" $OpenBSD: strlcpy.3,v 1.23 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1998, 2000 Todd C. Miller .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: April 3 2012 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STRLCPY 3 .Os .Sh NAME @@ -22,7 +22,7 @@ .Nm strlcat .Nd size-bounded string copying and concatenation .Sh SYNOPSIS -.Fd #include +.In string.h .Ft size_t .Fn strlcpy "char *dst" "const char *src" "size_t dstsize" .Ft size_t diff --git a/src/lib/libc/string/strlen.3 b/src/lib/libc/string/strlen.3 index 9187496a00..4d416e200a 100644 --- a/src/lib/libc/string/strlen.3 +++ b/src/lib/libc/string/strlen.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strlen.3,v 1.10 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: strlen.3,v 1.11 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 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: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STRLEN 3 .Os .Sh NAME @@ -39,7 +39,7 @@ .Nm strnlen .Nd find length of a string .Sh SYNOPSIS -.Fd #include +.In string.h .Ft size_t .Fn strlen "const char *s" .Ft size_t diff --git a/src/lib/libc/string/strmode.3 b/src/lib/libc/string/strmode.3 index 5d371b38c8..bebda2ca1c 100644 --- a/src/lib/libc/string/strmode.3 +++ b/src/lib/libc/string/strmode.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strmode.3,v 1.15 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: strmode.3,v 1.16 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,14 +29,14 @@ .\" .\" @(#)strmode.3 8.3 (Berkeley) 7/28/94 .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STRMODE 3 .Os .Sh NAME .Nm strmode .Nd convert inode status information into a symbolic string .Sh SYNOPSIS -.Fd #include +.In string.h .Ft void .Fn strmode "mode_t mode" "char *bp" .Sh DESCRIPTION diff --git a/src/lib/libc/string/strpbrk.3 b/src/lib/libc/string/strpbrk.3 index 9e13c42ad0..b758df6854 100644 --- a/src/lib/libc/string/strpbrk.3 +++ b/src/lib/libc/string/strpbrk.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strpbrk.3,v 1.9 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: strpbrk.3,v 1.10 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,14 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STRPBRK 3 .Os .Sh NAME .Nm strpbrk .Nd locate multiple characters in string .Sh SYNOPSIS -.Fd #include +.In string.h .Ft char * .Fn strpbrk "const char *s" "const char *charset" .Sh DESCRIPTION diff --git a/src/lib/libc/string/strrchr.3 b/src/lib/libc/string/strrchr.3 index 9eea08b0a9..046b28ce56 100644 --- a/src/lib/libc/string/strrchr.3 +++ b/src/lib/libc/string/strrchr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strrchr.3,v 1.9 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: strrchr.3,v 1.10 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 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: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STRRCHR 3 .Os .Sh NAME @@ -39,7 +39,7 @@ .Nm rindex .Nd locate last occurrence of a character in a string .Sh SYNOPSIS -.Fd #include +.In string.h .Ft char * .Fn strrchr "const char *s" "int c" .Ft char * diff --git a/src/lib/libc/string/strsep.3 b/src/lib/libc/string/strsep.3 index 63cdf2333a..77053f66d7 100644 --- a/src/lib/libc/string/strsep.3 +++ b/src/lib/libc/string/strsep.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strsep.3,v 1.13 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: strsep.3,v 1.14 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,14 +32,14 @@ .\" .\" @(#)strsep.3 8.1 (Berkeley) 6/9/93 .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STRSEP 3 .Os .Sh NAME .Nm strsep .Nd separate strings .Sh SYNOPSIS -.Fd #include +.In string.h .Ft char * .Fn strsep "char **stringp" "const char *delim" .Sh DESCRIPTION diff --git a/src/lib/libc/string/strsignal.3 b/src/lib/libc/string/strsignal.3 index 7128d811fd..3261f699d8 100644 --- a/src/lib/libc/string/strsignal.3 +++ b/src/lib/libc/string/strsignal.3 @@ -29,16 +29,16 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: strsignal.3,v 1.7 2012/03/26 05:06:35 guenther Exp $ +.\" $OpenBSD: strsignal.3,v 1.8 2013/06/05 03:39:23 tedu Exp $ .\" -.Dd $Mdocdate: March 26 2012 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STRSIGNAL 3 .Os .Sh NAME .Nm strsignal .Nd get signal description string .Sh SYNOPSIS -.Fd #include +.In string.h .Ft char * .Fn strsignal "int sig" .Sh DESCRIPTION diff --git a/src/lib/libc/string/strspn.3 b/src/lib/libc/string/strspn.3 index b1a2ae3014..e339d9b6af 100644 --- a/src/lib/libc/string/strspn.3 +++ b/src/lib/libc/string/strspn.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strspn.3,v 1.10 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: strspn.3,v 1.11 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,14 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STRSPN 3 .Os .Sh NAME .Nm strspn .Nd span a string .Sh SYNOPSIS -.Fd #include +.In string.h .Ft size_t .Fn strspn "const char *s" "const char *charset" .Sh DESCRIPTION diff --git a/src/lib/libc/string/strstr.3 b/src/lib/libc/string/strstr.3 index 4069d55ed2..1f79d45590 100644 --- a/src/lib/libc/string/strstr.3 +++ b/src/lib/libc/string/strstr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strstr.3,v 1.11 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: strstr.3,v 1.12 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,14 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STRSTR 3 .Os .Sh NAME .Nm strstr , strcasestr .Nd locate a substring in a string .Sh SYNOPSIS -.Fd #include +.In string.h .Ft char * .Fn strstr "const char *big" "const char *little" .Ft char * diff --git a/src/lib/libc/string/strtok.3 b/src/lib/libc/string/strtok.3 index fbf0abfc26..046a43b6b1 100644 --- a/src/lib/libc/string/strtok.3 +++ b/src/lib/libc/string/strtok.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strtok.3,v 1.20 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: strtok.3,v 1.21 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1988, 1991 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: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STRTOK 3 .Os .Sh NAME @@ -39,7 +39,7 @@ .Nm strtok_r .Nd string token operations .Sh SYNOPSIS -.Fd #include +.In string.h .Ft char * .Fn strtok "char *str" "const char *sep" .Ft char * diff --git a/src/lib/libc/string/strxfrm.3 b/src/lib/libc/string/strxfrm.3 index e4472946be..481f741cb7 100644 --- a/src/lib/libc/string/strxfrm.3 +++ b/src/lib/libc/string/strxfrm.3 @@ -29,16 +29,16 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: strxfrm.3,v 1.9 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: strxfrm.3,v 1.10 2013/06/05 03:39:23 tedu Exp $ .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STRXFRM 3 .Os .Sh NAME .Nm strxfrm .Nd transform a string under locale .Sh SYNOPSIS -.Fd #include +.In string.h .Ft size_t .Fn strxfrm "char *dst" "const char *src" "size_t n" .Sh DESCRIPTION diff --git a/src/lib/libc/string/swab.3 b/src/lib/libc/string/swab.3 index 5ebaa485e9..77e5a9ccbc 100644 --- a/src/lib/libc/string/swab.3 +++ b/src/lib/libc/string/swab.3 @@ -25,16 +25,16 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: swab.3,v 1.7 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: swab.3,v 1.8 2013/06/05 03:39:23 tedu Exp $ .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt SWAB 3 .Os .Sh NAME .Nm swab .Nd swap adjacent bytes .Sh SYNOPSIS -.Fd #include +.In unistd.h .Ft void .Fn swab "const void *src" "void *dst" "size_t len" .Sh DESCRIPTION diff --git a/src/lib/libc/string/wcscasecmp.3 b/src/lib/libc/string/wcscasecmp.3 index 94cd6e0c38..743224a123 100644 --- a/src/lib/libc/string/wcscasecmp.3 +++ b/src/lib/libc/string/wcscasecmp.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wcscasecmp.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: wcscasecmp.3,v 1.3 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -31,7 +31,7 @@ .\" .\" @(#)strcasecmp.3 8.1 (Berkeley) 6/9/93 .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt WCSCASECMP 3 .Os .Sh NAME @@ -39,7 +39,7 @@ .Nm wcsncasecmp .Nd compare wide strings, ignoring case .Sh SYNOPSIS -.Fd #include +.In wchar.h .Ft int .Fn wcscasecmp "const wchar_t *s1" "const wchar_t *s2" .Ft int diff --git a/src/lib/libc/string/wcscat.3 b/src/lib/libc/string/wcscat.3 index d0281b8bd1..9b7588cf9e 100644 --- a/src/lib/libc/string/wcscat.3 +++ b/src/lib/libc/string/wcscat.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wcscat.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: wcscat.3,v 1.3 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 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: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt WCSCAT 3 .Os .Sh NAME @@ -39,7 +39,7 @@ .Nm wcsncat .Nd concatenate wide strings .Sh SYNOPSIS -.Fd #include +.In wchar.h .Ft wchar_t * .Fn wcscat "wchar_t * restrict s" "const wchar_t * restrict append" .Ft wchar_t * diff --git a/src/lib/libc/string/wcschr.3 b/src/lib/libc/string/wcschr.3 index ca2c0ed743..bb714b2099 100644 --- a/src/lib/libc/string/wcschr.3 +++ b/src/lib/libc/string/wcschr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wcschr.3,v 1.3 2011/07/25 07:51:30 jmc Exp $ +.\" $OpenBSD: wcschr.3,v 1.4 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,14 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt WCSCHR 3 .Os .Sh NAME .Nm wcschr .Nd locate first occurrence of a wide character in a wide string .Sh SYNOPSIS -.Fd #include +.In wchar.h .Ft wchar_t * .Fn wcschr "const wchar_t *s" "wchar_t c" .Sh DESCRIPTION diff --git a/src/lib/libc/string/wcscmp.3 b/src/lib/libc/string/wcscmp.3 index b34e5c2168..53cd15a1f0 100644 --- a/src/lib/libc/string/wcscmp.3 +++ b/src/lib/libc/string/wcscmp.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wcscmp.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: wcscmp.3,v 1.3 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 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: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt WCSCMP 3 .Os .Sh NAME @@ -39,7 +39,7 @@ .Nm wcsncmp .Nd compare wide strings .Sh SYNOPSIS -.Fd #include +.In wchar.h .Ft int .Fn wcscmp "const wchar_t *s1" "const wchar_t *s2" .Ft int diff --git a/src/lib/libc/string/wcscpy.3 b/src/lib/libc/string/wcscpy.3 index dcc375acbf..c366103565 100644 --- a/src/lib/libc/string/wcscpy.3 +++ b/src/lib/libc/string/wcscpy.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wcscpy.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: wcscpy.3,v 1.3 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 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: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt WCSCPY 3 .Os .Sh NAME @@ -39,7 +39,7 @@ .Nm wcsncpy .Nd copy wide strings .Sh SYNOPSIS -.Fd #include +.In wchar.h .Ft wchar_t * .Fn wcscpy "wchar_t * restrict dst" "const wchar_t * restrict src" .Ft wchar_t * diff --git a/src/lib/libc/string/wcscspn.3 b/src/lib/libc/string/wcscspn.3 index c17992501f..520a739202 100644 --- a/src/lib/libc/string/wcscspn.3 +++ b/src/lib/libc/string/wcscspn.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wcscspn.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: wcscspn.3,v 1.3 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,14 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt WCSCSPN 3 .Os .Sh NAME .Nm wcscspn .Nd span the complement of a wide string .Sh SYNOPSIS -.Fd #include +.In wchar.h .Ft size_t .Fn wcscspn "const wchar_t *s" "const wchar_t *charset" .Sh DESCRIPTION diff --git a/src/lib/libc/string/wcslcpy.3 b/src/lib/libc/string/wcslcpy.3 index 98ecf0aabc..4288b98e01 100644 --- a/src/lib/libc/string/wcslcpy.3 +++ b/src/lib/libc/string/wcslcpy.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wcslcpy.3,v 1.3 2011/07/25 07:51:30 jmc Exp $ +.\" $OpenBSD: wcslcpy.3,v 1.4 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1998, 2000 Todd C. Miller .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt WCSLCPY 3 .Os .Sh NAME @@ -22,7 +22,7 @@ .Nm wcslcat .Nd size-bounded wide string copying and concatenation .Sh SYNOPSIS -.Fd #include +.In wchar.h .Ft size_t .Fn wcslcpy "wchar_t *dst" "const wchar_t *src" "size_t size" .Ft size_t diff --git a/src/lib/libc/string/wcslen.3 b/src/lib/libc/string/wcslen.3 index 1b2eceab93..12f81763ba 100644 --- a/src/lib/libc/string/wcslen.3 +++ b/src/lib/libc/string/wcslen.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wcslen.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: wcslen.3,v 1.3 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,14 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt WCSLEN 3 .Os .Sh NAME .Nm wcslen .Nd find length of a wide string .Sh SYNOPSIS -.Fd #include +.In wchar.h .Ft size_t .Fn wcslen "const wchar_t *s" .Sh DESCRIPTION diff --git a/src/lib/libc/string/wcspbrk.3 b/src/lib/libc/string/wcspbrk.3 index 6589e83c83..602bfdc3d6 100644 --- a/src/lib/libc/string/wcspbrk.3 +++ b/src/lib/libc/string/wcspbrk.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wcspbrk.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: wcspbrk.3,v 1.3 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,14 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt WCSPBRK 3 .Os .Sh NAME .Nm wcspbrk .Nd locate multiple wide characters in a wide string .Sh SYNOPSIS -.Fd #include +.In wchar.h .Ft wchar_t * .Fn wcspbrk "const wchar_t *s" "const wchar_t *charset" .Sh DESCRIPTION diff --git a/src/lib/libc/string/wcsrchr.3 b/src/lib/libc/string/wcsrchr.3 index d65caa4292..d4a2e7cf78 100644 --- a/src/lib/libc/string/wcsrchr.3 +++ b/src/lib/libc/string/wcsrchr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wcsrchr.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: wcsrchr.3,v 1.3 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,14 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt WCSRCHR 3 .Os .Sh NAME .Nm wcsrchr .Nd locate last occurrence of a wide character in a wide string .Sh SYNOPSIS -.Fd #include +.In wchar.h .Ft wchar_t * .Fn wcsrchr "const wchar_t *s" "wchar_t c" .Sh DESCRIPTION diff --git a/src/lib/libc/string/wcsspn.3 b/src/lib/libc/string/wcsspn.3 index 66505c59d1..3be82344dd 100644 --- a/src/lib/libc/string/wcsspn.3 +++ b/src/lib/libc/string/wcsspn.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wcsspn.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: wcsspn.3,v 1.3 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,14 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt WCSSPN 3 .Os .Sh NAME .Nm wcsspn .Nd span a wide string .Sh SYNOPSIS -.Fd #include +.In wchar.h .Ft size_t .Fn wcsspn "const wchar_t *s" "const wchar_t *charset" .Sh DESCRIPTION diff --git a/src/lib/libc/string/wcsstr.3 b/src/lib/libc/string/wcsstr.3 index 73f85c3504..203a76ded3 100644 --- a/src/lib/libc/string/wcsstr.3 +++ b/src/lib/libc/string/wcsstr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wcsstr.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: wcsstr.3,v 1.3 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,14 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt WCSSTR 3 .Os .Sh NAME .Nm wcsstr .Nd locate a wide substring in a wide string .Sh SYNOPSIS -.Fd #include +.In wchar.h .Ft wchar_t * .Fn wcsstr "const wchar_t *big" "const wchar_t *little" .Sh DESCRIPTION diff --git a/src/lib/libc/string/wmemchr.3 b/src/lib/libc/string/wmemchr.3 index 21df1aaa88..17fbc9dbc5 100644 --- a/src/lib/libc/string/wmemchr.3 +++ b/src/lib/libc/string/wmemchr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wmemchr.3,v 1.9 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: wmemchr.3,v 1.10 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,14 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt WMEMCHR 3 .Os .Sh NAME .Nm wmemchr .Nd locate wide character in wide string .Sh SYNOPSIS -.Fd #include +.In wchar.h .Ft wchar_t * .Fn wmemchr "const wchar_t *b" "wchar_t c" "size_t len" .Sh DESCRIPTION diff --git a/src/lib/libc/string/wmemcmp.3 b/src/lib/libc/string/wmemcmp.3 index 6006b4e5c1..bd8ddfd120 100644 --- a/src/lib/libc/string/wmemcmp.3 +++ b/src/lib/libc/string/wmemcmp.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wmemcmp.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: wmemcmp.3,v 1.3 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,14 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt WMEMCMP 3 .Os .Sh NAME .Nm wmemcmp .Nd compare wide strings .Sh SYNOPSIS -.Fd #include +.In wchar.h .Ft int .Fn wmemcmp "const wchar_t *s1" "const wchar_t *s2" "size_t len" .Sh DESCRIPTION diff --git a/src/lib/libc/string/wmemcpy.3 b/src/lib/libc/string/wmemcpy.3 index 4bbab2909f..2a6d528a1a 100644 --- a/src/lib/libc/string/wmemcpy.3 +++ b/src/lib/libc/string/wmemcpy.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wmemcpy.3,v 1.4 2013/06/04 03:02:09 deraadt Exp $ +.\" $OpenBSD: wmemcpy.3,v 1.5 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,14 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 4 2013 $ +.Dd $Mdocdate: June 5 2013 $ .Dt WMEMCPY 3 .Os .Sh NAME .Nm wmemcpy .Nd copy wide characters .Sh SYNOPSIS -.Fd #include +.In wchar.h .Ft wchar_t * .Fn wmemcpy "wchar_t * restrict dst" "const wchar_t * restrict src" "size_t len" .Sh DESCRIPTION diff --git a/src/lib/libc/string/wmemmove.3 b/src/lib/libc/string/wmemmove.3 index 45daa854ba..46942e7928 100644 --- a/src/lib/libc/string/wmemmove.3 +++ b/src/lib/libc/string/wmemmove.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wmemmove.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: wmemmove.3,v 1.3 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,14 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt WMEMMOVE 3 .Os .Sh NAME .Nm wmemmove .Nd copy wide characters .Sh SYNOPSIS -.Fd #include +.In wchar.h .Ft wchar_t * .Fn wmemmove "wchar_t *dst" "const wchar_t *src" "size_t len" .Sh DESCRIPTION diff --git a/src/lib/libc/string/wmemset.3 b/src/lib/libc/string/wmemset.3 index 1b840762ec..2655d68bcb 100644 --- a/src/lib/libc/string/wmemset.3 +++ b/src/lib/libc/string/wmemset.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wmemset.3,v 1.3 2011/07/25 00:38:53 schwarze Exp $ +.\" $OpenBSD: wmemset.3,v 1.4 2013/06/05 03:39:23 tedu Exp $ .\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,14 +31,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 25 2011 $ +.Dd $Mdocdate: June 5 2013 $ .Dt WMEMSET 3 .Os .Sh NAME .Nm wmemset .Nd write a wide string .Sh SYNOPSIS -.Fd #include +.In wchar.h .Ft wchar_t * .Fn wmemset "wchar_t *s" "wchar_t c" "size_t len" .Sh DESCRIPTION -- cgit v1.2.3-55-g6feb