summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2013-07-06 17:31:21 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2013-07-06 17:31:21 +0000
commit8ead68bbc23cf17ded93209dadf943ad99c351cf (patch)
tree26991474d8181c0b7ef9d00c80892568780f7deb
parent3346dd05dd49777780df6554b023df73ad11a8f1 (diff)
functions, not macros; from Daniel Dickman
ok guenther
-rw-r--r--lib/libc/gen/isalnum.38
-rw-r--r--lib/libc/gen/isalpha.36
-rw-r--r--lib/libc/gen/isascii.36
-rw-r--r--lib/libc/gen/isblank.36
-rw-r--r--lib/libc/gen/iscntrl.36
-rw-r--r--lib/libc/gen/isdigit.36
-rw-r--r--lib/libc/gen/isgraph.36
-rw-r--r--lib/libc/gen/islower.36
-rw-r--r--lib/libc/gen/isprint.36
-rw-r--r--lib/libc/gen/ispunct.36
-rw-r--r--lib/libc/gen/isspace.36
-rw-r--r--lib/libc/gen/isupper.36
-rw-r--r--lib/libc/gen/isxdigit.36
13 files changed, 40 insertions, 40 deletions
diff --git a/lib/libc/gen/isalnum.3 b/lib/libc/gen/isalnum.3
index 2f06f31f5aa..3cd0a90048d 100644
--- a/lib/libc/gen/isalnum.3
+++ b/lib/libc/gen/isalnum.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isalnum.3,v 1.9 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: isalnum.3,v 1.10 2013/07/06 17:31:20 jmc Exp $
.\"
.\" Copyright (c) 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: July 6 2013 $
.Dt ISALNUM 3
.Os
.Sh NAME
@@ -44,7 +44,7 @@
.Sh DESCRIPTION
The
.Fn isalnum
-macro tests for any character for which
+function tests for any character for which
.Xr isalpha 3
or
.Xr isdigit 3
@@ -52,7 +52,7 @@ is true.
.Sh RETURN VALUES
The
.Fn isalnum
-macro returns zero if the character tests false or
+function returns zero if the character tests false or
non-zero if the character tests true.
.Sh SEE ALSO
.Xr isalpha 3 ,
diff --git a/lib/libc/gen/isalpha.3 b/lib/libc/gen/isalpha.3
index 805f0994139..ef75c3ceb73 100644
--- a/lib/libc/gen/isalpha.3
+++ b/lib/libc/gen/isalpha.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isalpha.3,v 1.10 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: isalpha.3,v 1.11 2013/07/06 17:31:20 jmc Exp $
.\"
.\" Copyright (c) 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: July 6 2013 $
.Dt ISALPHA 3
.Os
.Sh NAME
@@ -67,7 +67,7 @@ is true.
.Sh RETURN VALUES
The
.Fn isalpha
-macro returns zero if the character tests false or
+function returns zero if the character tests false or
non-zero if the character tests true.
.Sh SEE ALSO
.Xr isalnum 3 ,
diff --git a/lib/libc/gen/isascii.3 b/lib/libc/gen/isascii.3
index fc0ba26615f..a60c8760221 100644
--- a/lib/libc/gen/isascii.3
+++ b/lib/libc/gen/isascii.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isascii.3,v 1.11 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: isascii.3,v 1.12 2013/07/06 17:31:20 jmc Exp $
.\"
.\" Copyright (c) 1989, 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: July 6 2013 $
.Dt ISASCII 3
.Os
.Sh NAME
@@ -47,7 +47,7 @@ equal to 0177.
.Sh RETURN VALUES
The
.Fn isascii
-macro returns zero if the character tests false or
+function returns zero if the character tests false or
non-zero if the character tests true.
.Sh SEE ALSO
.Xr isalnum 3 ,
diff --git a/lib/libc/gen/isblank.3 b/lib/libc/gen/isblank.3
index b30ce0aad71..5f657072fde 100644
--- a/lib/libc/gen/isblank.3
+++ b/lib/libc/gen/isblank.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isblank.3,v 1.10 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: isblank.3,v 1.11 2013/07/06 17:31:20 jmc Exp $
.\"
.\" Copyright (c) 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: July 6 2013 $
.Dt ISBLANK 3
.Os
.Sh NAME
@@ -60,7 +60,7 @@ returns true only for the standard blank-space characters.
.Sh RETURN VALUES
The
.Fn isblank
-macro returns zero if the character tests false or
+function returns zero if the character tests false or
non-zero if the character tests true.
.Sh SEE ALSO
.Xr isalnum 3 ,
diff --git a/lib/libc/gen/iscntrl.3 b/lib/libc/gen/iscntrl.3
index 94e006421dd..2412fa01340 100644
--- a/lib/libc/gen/iscntrl.3
+++ b/lib/libc/gen/iscntrl.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: iscntrl.3,v 1.9 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: iscntrl.3,v 1.10 2013/07/06 17:31:20 jmc Exp $
.\"
.\" Copyright (c) 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: July 6 2013 $
.Dt ISCNTRL 3
.Os
.Sh NAME
@@ -48,7 +48,7 @@ function tests for any control character.
.Sh RETURN VALUES
The
.Fn iscntrl
-macro returns zero if the character tests false or
+function returns zero if the character tests false or
non-zero if the character tests true.
.Sh SEE ALSO
.Xr isalnum 3 ,
diff --git a/lib/libc/gen/isdigit.3 b/lib/libc/gen/isdigit.3
index 3022a0066c0..9e791223ae0 100644
--- a/lib/libc/gen/isdigit.3
+++ b/lib/libc/gen/isdigit.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isdigit.3,v 1.9 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: isdigit.3,v 1.10 2013/07/06 17:31:20 jmc Exp $
.\"
.\" Copyright (c) 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: July 6 2013 $
.Dt ISDIGIT 3
.Os
.Sh NAME
@@ -48,7 +48,7 @@ function tests for any decimal-digit character.
.Sh RETURN VALUES
The
.Fn isdigit
-macro returns zero if the character tests false or
+function returns zero if the character tests false or
non-zero if the character tests true.
.Sh SEE ALSO
.Xr isalnum 3 ,
diff --git a/lib/libc/gen/isgraph.3 b/lib/libc/gen/isgraph.3
index fb2f1be14de..fab5db54ccc 100644
--- a/lib/libc/gen/isgraph.3
+++ b/lib/libc/gen/isgraph.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isgraph.3,v 1.10 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: isgraph.3,v 1.11 2013/07/06 17:31:20 jmc Exp $
.\"
.\" Copyright (c) 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: July 6 2013 $
.Dt ISGRAPH 3
.Os
.Sh NAME
@@ -49,7 +49,7 @@ function tests for any printing character except space
.Sh RETURN VALUES
The
.Fn isgraph
-macro returns zero if the character tests false or
+function returns zero if the character tests false or
non-zero if the character tests true.
.Sh SEE ALSO
.Xr isalnum 3 ,
diff --git a/lib/libc/gen/islower.3 b/lib/libc/gen/islower.3
index a14a8e3617d..b0baa6a062c 100644
--- a/lib/libc/gen/islower.3
+++ b/lib/libc/gen/islower.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: islower.3,v 1.10 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: islower.3,v 1.11 2013/07/06 17:31:20 jmc Exp $
.\"
.\" Copyright (c) 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: July 6 2013 $
.Dt ISLOWER 3
.Os
.Sh NAME
@@ -60,7 +60,7 @@ returns true only for the characters defined as lower-case letters.
.Sh RETURN VALUES
The
.Fn islower
-macro returns zero if the character tests false or
+function returns zero if the character tests false or
non-zero if the character tests true.
.Sh SEE ALSO
.Xr isalnum 3 ,
diff --git a/lib/libc/gen/isprint.3 b/lib/libc/gen/isprint.3
index 29b52109504..d8d83b2d1a1 100644
--- a/lib/libc/gen/isprint.3
+++ b/lib/libc/gen/isprint.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isprint.3,v 1.9 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: isprint.3,v 1.10 2013/07/06 17:31:20 jmc Exp $
.\"
.\" Copyright (c) 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: July 6 2013 $
.Dt ISPRINT 3
.Os
.Sh NAME
@@ -49,7 +49,7 @@ function tests for any printing character including space
.Sh RETURN VALUES
The
.Fn isprint
-macro returns zero if the character tests false or
+function returns zero if the character tests false or
non-zero if the character tests true.
.Sh SEE ALSO
.Xr isalnum 3 ,
diff --git a/lib/libc/gen/ispunct.3 b/lib/libc/gen/ispunct.3
index 7cd2ae29312..508fda14618 100644
--- a/lib/libc/gen/ispunct.3
+++ b/lib/libc/gen/ispunct.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ispunct.3,v 1.9 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: ispunct.3,v 1.10 2013/07/06 17:31:20 jmc Exp $
.\"
.\" Copyright (c) 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: July 6 2013 $
.Dt ISPUNCT 3
.Os
.Sh NAME
@@ -52,7 +52,7 @@ is true.
.Sh RETURN VALUES
The
.Fn ispunct
-macro returns zero if the character tests false or
+function returns zero if the character tests false or
non-zero if the character tests true.
.Sh SEE ALSO
.Xr isalnum 3 ,
diff --git a/lib/libc/gen/isspace.3 b/lib/libc/gen/isspace.3
index ee973d5e98e..ce59e397055 100644
--- a/lib/libc/gen/isspace.3
+++ b/lib/libc/gen/isspace.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isspace.3,v 1.11 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: isspace.3,v 1.12 2013/07/06 17:31:20 jmc Exp $
.\"
.\" Copyright (c) 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: July 6 2013 $
.Dt ISSPACE 3
.Os
.Sh NAME
@@ -73,7 +73,7 @@ returns true only for the standard whitespace characters.
.Sh RETURN VALUES
The
.Fn isspace
-macro returns zero if the character tests false or
+function returns zero if the character tests false or
non-zero if the character tests true.
.Sh SEE ALSO
.Xr isalnum 3 ,
diff --git a/lib/libc/gen/isupper.3 b/lib/libc/gen/isupper.3
index 02e42cfcfa7..c32fe22e5e3 100644
--- a/lib/libc/gen/isupper.3
+++ b/lib/libc/gen/isupper.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isupper.3,v 1.11 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: isupper.3,v 1.12 2013/07/06 17:31:20 jmc Exp $
.\"
.\" Copyright (c) 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: July 6 2013 $
.Dt ISUPPER 3
.Os
.Sh NAME
@@ -58,7 +58,7 @@ returns true only for the characters defined as upper-case letters.
.Sh RETURN VALUES
The
.Fn isupper
-macro returns zero if the character tests false or
+function returns zero if the character tests false or
non-zero if the character tests true.
.Sh SEE ALSO
.Xr isalnum 3 ,
diff --git a/lib/libc/gen/isxdigit.3 b/lib/libc/gen/isxdigit.3
index 6ef3cc8f19d..d40385efa5c 100644
--- a/lib/libc/gen/isxdigit.3
+++ b/lib/libc/gen/isxdigit.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isxdigit.3,v 1.9 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: isxdigit.3,v 1.10 2013/07/06 17:31:20 jmc Exp $
.\"
.\" Copyright (c) 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: July 6 2013 $
.Dt ISXDIGIT 3
.Os
.Sh NAME
@@ -48,7 +48,7 @@ function tests for any hexadecimal-digit character.
.Sh RETURN VALUES
The
.Fn isxdigit
-macro returns zero if the character tests false or
+function returns zero if the character tests false or
non-zero if the character tests true.
.Sh SEE ALSO
.Xr isalnum 3 ,