summaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-05-25 01:13:33 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-05-25 01:13:33 +0000
commit80cfdc8c968fc56c1ec0baa8fd9e0435108d2297 (patch)
tree12ed923fc3e15f1e33bb3bdd30775546cbda104f /lib/libc/gen
parent935e3e2a1aea3adb36c5b0da75b34bacfe911980 (diff)
add .Ft macros and move the argument type into each function definition
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/ctype.352
1 files changed, 33 insertions, 19 deletions
diff --git a/lib/libc/gen/ctype.3 b/lib/libc/gen/ctype.3
index 4e36cc26edd..d0b945405e5 100644
--- a/lib/libc/gen/ctype.3
+++ b/lib/libc/gen/ctype.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ctype.3,v 1.3 1999/05/16 19:54:49 alex Exp $
+.\" $OpenBSD: ctype.3,v 1.4 1999/05/25 01:13:32 aaron Exp $
.\"
.\" Copyright (c) 1991 Regents of the University of California.
.\" All rights reserved.
@@ -55,24 +55,38 @@
.Nd character classification macros
.Sh SYNOPSIS
.Fd #include <ctype.h>
-.Fa int c
-.br
-.Fn isalpha c
-.Fn isupper c
-.Fn islower c
-.Fn isdigit c
-.Fn isxdigit c
-.Fn isalnum c
-.Fn isspace c
-.Fn ispunct c
-.Fn isprint c
-.Fn isgraph c
-.Fn iscntrl c
-.Fn isblank c
-.Fn isascii c
-.Fn toupper c
-.Fn tolower c
-.Fn toascii c
+.Ft int
+.Fn isalpha "int c"
+.Ft int
+.Fn isupper "int c"
+.Ft int
+.Fn islower "int c"
+.Ft int
+.Fn isdigit "int c"
+.Ft int
+.Fn isxdigit "int c"
+.Ft int
+.Fn isalnum "int c"
+.Ft int
+.Fn isspace "int c"
+.Ft int
+.Fn ispunct "int c"
+.Ft int
+.Fn isprint "int c"
+.Ft int
+.Fn isgraph "int c"
+.Ft int
+.Fn iscntrl "int c"
+.Ft int
+.Fn isblank "int c"
+.Ft int
+.Fn isascii "int c"
+.Ft int
+.Fn toupper "int c"
+.Ft int
+.Fn tolower "int c"
+.Ft int
+.Fn toascii "int c"
.Sh DESCRIPTION
The above macros perform character tests and conversions on the integer
.Ar c .