Browse Source

Document that these functions are now in strings.h.

ok millert@
OPENBSD_5_9
daniel 9 years ago
parent
commit
bc3b5c8183
7 changed files with 22 additions and 19 deletions
  1. +3
    -3
      src/lib/libc/string/bcmp.3
  2. +3
    -3
      src/lib/libc/string/bcopy.3
  3. +4
    -3
      src/lib/libc/string/bzero.3
  4. +3
    -3
      src/lib/libc/string/ffs.3
  5. +3
    -3
      src/lib/libc/string/strcasecmp.3
  6. +3
    -2
      src/lib/libc/string/strchr.3
  7. +3
    -2
      src/lib/libc/string/strrchr.3

+ 3
- 3
src/lib/libc/string/bcmp.3 View File

@ -27,16 +27,16 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" 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 .Dt BCMP 3
.Os .Os
.Sh NAME .Sh NAME
.Nm bcmp .Nm bcmp
.Nd compare byte string .Nd compare byte string
.Sh SYNOPSIS .Sh SYNOPSIS
.In string.h
.In strings.h
.Ft int .Ft int
.Fn bcmp "const void *b1" "const void *b2" "size_t len" .Fn bcmp "const void *b1" "const void *b2" "size_t len"
.Sh DESCRIPTION .Sh DESCRIPTION


+ 3
- 3
src/lib/libc/string/bcopy.3 View File

@ -28,16 +28,16 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" 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 .Dt BCOPY 3
.Os .Os
.Sh NAME .Sh NAME
.Nm bcopy .Nm bcopy
.Nd copy bytes .Nd copy bytes
.Sh SYNOPSIS .Sh SYNOPSIS
.In string.h
.In strings.h
.Ft void .Ft void
.Fn bcopy "const void *src" "void *dst" "size_t len" .Fn bcopy "const void *src" "void *dst" "size_t len"
.Sh DESCRIPTION .Sh DESCRIPTION


+ 4
- 3
src/lib/libc/string/bzero.3 View File

@ -27,9 +27,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" 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 .Dt BZERO 3
.Os .Os
.Sh NAME .Sh NAME
@ -37,9 +37,10 @@
.Nm explicit_bzero .Nm explicit_bzero
.Nd write zeroes to a byte string .Nd write zeroes to a byte string
.Sh SYNOPSIS .Sh SYNOPSIS
.In string.h
.In strings.h
.Ft void .Ft void
.Fn bzero "void *b" "size_t len" .Fn bzero "void *b" "size_t len"
.In string.h
.Ft void .Ft void
.Fn explicit_bzero "void *b" "size_t len" .Fn explicit_bzero "void *b" "size_t len"
.Sh DESCRIPTION .Sh DESCRIPTION


+ 3
- 3
src/lib/libc/string/ffs.3 View File

@ -27,16 +27,16 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" 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 .Dt FFS 3
.Os .Os
.Sh NAME .Sh NAME
.Nm ffs .Nm ffs
.Nd find first bit set in a bit string .Nd find first bit set in a bit string
.Sh SYNOPSIS .Sh SYNOPSIS
.In string.h
.In strings.h
.Ft int .Ft int
.Fn ffs "int value" .Fn ffs "int value"
.Sh DESCRIPTION .Sh DESCRIPTION


+ 3
- 3
src/lib/libc/string/strcasecmp.3 View File

@ -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 .\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -31,7 +31,7 @@
.\" .\"
.\" @(#)strcasecmp.3 8.1 (Berkeley) 6/9/93 .\" @(#)strcasecmp.3 8.1 (Berkeley) 6/9/93
.\" .\"
.Dd $Mdocdate: June 5 2013 $
.Dd $Mdocdate: November 24 2015 $
.Dt STRCASECMP 3 .Dt STRCASECMP 3
.Os .Os
.Sh NAME .Sh NAME
@ -39,7 +39,7 @@
.Nm strncasecmp .Nm strncasecmp
.Nd compare strings, ignoring case .Nd compare strings, ignoring case
.Sh SYNOPSIS .Sh SYNOPSIS
.In string.h
.In strings.h
.Ft int .Ft int
.Fn strcasecmp "const char *s1" "const char *s2" .Fn strcasecmp "const char *s1" "const char *s2"
.Ft int .Ft int


+ 3
- 2
src/lib/libc/string/strchr.3 View File

@ -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. .\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved. .\" All rights reserved.
@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.Dd $Mdocdate: June 5 2013 $
.Dd $Mdocdate: November 24 2015 $
.Dt STRCHR 3 .Dt STRCHR 3
.Os .Os
.Sh NAME .Sh NAME
@ -42,6 +42,7 @@
.In string.h .In string.h
.Ft char * .Ft char *
.Fn strchr "const char *s" "int c" .Fn strchr "const char *s" "int c"
.In strings.h
.Ft char * .Ft char *
.Fn index "const char *s" "int c" .Fn index "const char *s" "int c"
.Sh DESCRIPTION .Sh DESCRIPTION


+ 3
- 2
src/lib/libc/string/strrchr.3 View File

@ -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. .\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved. .\" All rights reserved.
@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.Dd $Mdocdate: June 5 2013 $
.Dd $Mdocdate: November 24 2015 $
.Dt STRRCHR 3 .Dt STRRCHR 3
.Os .Os
.Sh NAME .Sh NAME
@ -42,6 +42,7 @@
.In string.h .In string.h
.Ft char * .Ft char *
.Fn strrchr "const char *s" "int c" .Fn strrchr "const char *s" "int c"
.In strings.h
.Ft char * .Ft char *
.Fn rindex "const char *s" "int c" .Fn rindex "const char *s" "int c"
.Sh DESCRIPTION .Sh DESCRIPTION


Loading…
Cancel
Save