diff options
author | 1999-05-25 01:13:32 +0000 | |
---|---|---|
committer | 1999-05-25 01:13:32 +0000 | |
commit | 48d80552e5c9426302c8015a9bdd640224901223 (patch) | |
tree | 6ce8a7140ef42915595feb0ab3b9299fce531989 | |
parent | whoops, tzset() needs a void argument; deraadt@ (diff) | |
download | wireguard-openbsd-48d80552e5c9426302c8015a9bdd640224901223.tar.xz wireguard-openbsd-48d80552e5c9426302c8015a9bdd640224901223.zip |
add .Ft macros and move the argument type into each function definition
-rw-r--r-- | lib/libc/gen/ctype.3 | 52 |
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 . |