summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-05-04 22:20:49 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-05-04 22:20:49 +0000
commitde078e75292fc6026b52794eb00c6a4df437385f (patch)
tree0183443fb21599e5b90627fd68ea5fc5568909a5
parent2f382fa0a66dbe98d61a85432bbdd56c82321144 (diff)
locc dies; spotted by miod
-rw-r--r--share/man/man9/Makefile4
-rw-r--r--share/man/man9/kern.912
2 files changed, 3 insertions, 13 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index aac494fec10..b966e6931fa 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.123 2007/04/27 10:06:56 art Exp $
+# $OpenBSD: Makefile,v 1.124 2007/05/04 22:20:48 deraadt Exp $
# $NetBSD: Makefile,v 1.4 1996/01/09 03:23:01 thorpej Exp $
# Makefile for section 9 (kernel function and variable) manual pages.
@@ -174,7 +174,7 @@ MLINKS+=ieee80211_proto.9 ieee80211_proto_attach.9 \
MLINKS+=kern.9 imax.9 kern.9 imin.9 kern.9 lmax.9 kern.9 lmin.9 \
kern.9 max.9 kern.9 min.9 kern.9 ulmax.9 kern.9 ulmin.9 kern.9 abs.9 \
kern.9 assert.9 kern.9 KASSERT.9 kern.9 KDASSERT.9 \
- kern.9 locc.9 kern.9 skpc.9 kern.9 scanc.9 kern.9 bcmp.9 \
+ kern.9 skpc.9 kern.9 scanc.9 kern.9 bcmp.9 \
kern.9 memchr.9 kern.9 memcmp.9 kern.9 ffs.9 \
kern.9 strlen.9 kern.9 strncpy.9 kern.9 strlcpy.9 kern.9 strlcat.9 \
kern.9 strcmp.9 kern.9 strncmp.9 kern.9 strncasecmp.9 \
diff --git a/share/man/man9/kern.9 b/share/man/man9/kern.9
index d8180f48f0d..da5c7534739 100644
--- a/share/man/man9/kern.9
+++ b/share/man/man9/kern.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kern.9,v 1.10 2005/08/29 21:56:45 pedro Exp $
+.\" $OpenBSD: kern.9,v 1.11 2007/05/04 22:20:48 deraadt Exp $
.\"
.\" Copyright (c) 2002, 2003 CubeSoft Communications, Inc.
.\" <http://www.csoft.org>
@@ -111,8 +111,6 @@ enabled.
.Sh BYTE STRINGS
.nr nS 1
.Ft int
-.Fn locc "int mask" "u_int size" "char *cp"
-.Ft int
.Fn skpc "int mask" "size_t size" "u_char *cp"
.Ft int
.Fn scanc "u_int size" "const u_char *cp" "const u_char *table" "int mask"
@@ -127,12 +125,6 @@ enabled.
.nr nS 0
.Pp
The
-.Fn locc
-function locates an integer of value
-.Fa mask
-inside the string
-.Fa cp .
-The
.Fn skpc
function locates the first unsigned character of value different than
.Fa mask
@@ -146,7 +138,6 @@ function expects a string of indexes into the table
Each table element is bitwise ANDed against
.Fa mask .
.Pp
-.Fn locc ,
.Fn skpc
and
.Fn scanc
@@ -250,7 +241,6 @@ functions conform to
.St -ansiC .
.Sh HISTORY
The
-.Fn locc ,
.Fn skpc
and
.Fn scanc