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
.\" 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


+ 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
.\" 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


+ 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
.\" 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


+ 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
.\" 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


+ 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
.\" 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


+ 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.
.\" 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


+ 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.
.\" 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


Loading…
Cancel
Save