diff options
author | Daniel Dickman <daniel@cvs.openbsd.org> | 2015-11-24 09:14:36 +0000 |
---|---|---|
committer | Daniel Dickman <daniel@cvs.openbsd.org> | 2015-11-24 09:14:36 +0000 |
commit | 1f4d2c0965d5251bd021bb9c4f02de687a4bc091 (patch) | |
tree | 8a0c0e3f758436c8644f68459fa5577286882fb7 /lib/libc | |
parent | 23d9236482eb9dc600a8fbdf31a66d5a75856dc7 (diff) |
Document that these functions are now in strings.h.
ok millert@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/string/bcmp.3 | 6 | ||||
-rw-r--r-- | lib/libc/string/bcopy.3 | 6 | ||||
-rw-r--r-- | lib/libc/string/bzero.3 | 7 | ||||
-rw-r--r-- | lib/libc/string/ffs.3 | 6 | ||||
-rw-r--r-- | lib/libc/string/strcasecmp.3 | 6 | ||||
-rw-r--r-- | lib/libc/string/strchr.3 | 5 | ||||
-rw-r--r-- | lib/libc/string/strrchr.3 | 5 |
7 files changed, 22 insertions, 19 deletions
diff --git a/lib/libc/string/bcmp.3 b/lib/libc/string/bcmp.3 index 720a8bf3040..a3cb1dfb743 100644 --- a/lib/libc/string/bcmp.3 +++ b/lib/libc/string/bcmp.3 @@ -27,16 +27,16 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: bcmp.3,v 1.11 2014/06/13 02:12:17 matthew Exp $ +.\" $OpenBSD: bcmp.3,v 1.12 2015/11/24 09:14:35 daniel Exp $ .\" -.Dd $Mdocdate: June 13 2014 $ +.Dd $Mdocdate: November 24 2015 $ .Dt BCMP 3 .Os .Sh NAME .Nm bcmp .Nd compare byte string .Sh SYNOPSIS -.In string.h +.In strings.h .Ft int .Fn bcmp "const void *b1" "const void *b2" "size_t len" .Sh DESCRIPTION diff --git a/lib/libc/string/bcopy.3 b/lib/libc/string/bcopy.3 index 94a8231fcb2..68c63f92ec2 100644 --- a/lib/libc/string/bcopy.3 +++ b/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.11 2013/06/05 03:39:23 tedu Exp $ +.\" $OpenBSD: bcopy.3,v 1.12 2015/11/24 09:14:35 daniel Exp $ .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: November 24 2015 $ .Dt BCOPY 3 .Os .Sh NAME .Nm bcopy .Nd copy bytes .Sh SYNOPSIS -.In string.h +.In strings.h .Ft void .Fn bcopy "const void *src" "void *dst" "size_t len" .Sh DESCRIPTION diff --git a/lib/libc/string/bzero.3 b/lib/libc/string/bzero.3 index 3e21c4241fb..b3f29793492 100644 --- a/lib/libc/string/bzero.3 +++ b/lib/libc/string/bzero.3 @@ -27,9 +27,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: bzero.3,v 1.11 2014/01/22 22:21:25 jmc Exp $ +.\" $OpenBSD: bzero.3,v 1.12 2015/11/24 09:14:35 daniel Exp $ .\" -.Dd $Mdocdate: January 22 2014 $ +.Dd $Mdocdate: November 24 2015 $ .Dt BZERO 3 .Os .Sh NAME @@ -37,9 +37,10 @@ .Nm explicit_bzero .Nd write zeroes to a byte string .Sh SYNOPSIS -.In string.h +.In strings.h .Ft void .Fn bzero "void *b" "size_t len" +.In string.h .Ft void .Fn explicit_bzero "void *b" "size_t len" .Sh DESCRIPTION diff --git a/lib/libc/string/ffs.3 b/lib/libc/string/ffs.3 index c0ed7baa9ed..d3ee24be5a9 100644 --- a/lib/libc/string/ffs.3 +++ b/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.9 2013/06/05 03:39:23 tedu Exp $ +.\" $OpenBSD: ffs.3,v 1.10 2015/11/24 09:14:35 daniel Exp $ .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: November 24 2015 $ .Dt FFS 3 .Os .Sh NAME .Nm ffs .Nd find first bit set in a bit string .Sh SYNOPSIS -.In string.h +.In strings.h .Ft int .Fn ffs "int value" .Sh DESCRIPTION diff --git a/lib/libc/string/strcasecmp.3 b/lib/libc/string/strcasecmp.3 index 8bd7387dc59..38703622160 100644 --- a/lib/libc/string/strcasecmp.3 +++ b/lib/libc/string/strcasecmp.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strcasecmp.3,v 1.12 2013/06/05 03:39:23 tedu Exp $ +.\" $OpenBSD: strcasecmp.3,v 1.13 2015/11/24 09:14:35 daniel 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: June 5 2013 $ +.Dd $Mdocdate: November 24 2015 $ .Dt STRCASECMP 3 .Os .Sh NAME @@ -39,7 +39,7 @@ .Nm strncasecmp .Nd compare strings, ignoring case .Sh SYNOPSIS -.In string.h +.In strings.h .Ft int .Fn strcasecmp "const char *s1" "const char *s2" .Ft int diff --git a/lib/libc/string/strchr.3 b/lib/libc/string/strchr.3 index eb9ac8e8338..854438677a6 100644 --- a/lib/libc/string/strchr.3 +++ b/lib/libc/string/strchr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strchr.3,v 1.11 2013/06/05 03:39:23 tedu Exp $ +.\" $OpenBSD: strchr.3,v 1.12 2015/11/24 09:14:35 daniel 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: June 5 2013 $ +.Dd $Mdocdate: November 24 2015 $ .Dt STRCHR 3 .Os .Sh NAME @@ -42,6 +42,7 @@ .In string.h .Ft char * .Fn strchr "const char *s" "int c" +.In strings.h .Ft char * .Fn index "const char *s" "int c" .Sh DESCRIPTION diff --git a/lib/libc/string/strrchr.3 b/lib/libc/string/strrchr.3 index 046b28ce567..f4ce691a6ea 100644 --- a/lib/libc/string/strrchr.3 +++ b/lib/libc/string/strrchr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strrchr.3,v 1.10 2013/06/05 03:39:23 tedu Exp $ +.\" $OpenBSD: strrchr.3,v 1.11 2015/11/24 09:14:35 daniel 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: June 5 2013 $ +.Dd $Mdocdate: November 24 2015 $ .Dt STRRCHR 3 .Os .Sh NAME @@ -42,6 +42,7 @@ .In string.h .Ft char * .Fn strrchr "const char *s" "int c" +.In strings.h .Ft char * .Fn rindex "const char *s" "int c" .Sh DESCRIPTION |