summaryrefslogtreecommitdiff
path: root/static/v10/man3/ctype.3
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 21:07:28 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 21:07:28 -0400
commit711594636704defae873be1a355a292505585afd (patch)
tree59ee13f863830d8beba6cfd02bbe813dd486c26f /static/v10/man3/ctype.3
parent3258a063c1f189d7b019e40e525b46bef9b9a7b1 (diff)
docs: Added UNIX V10 Manuals
Diffstat (limited to 'static/v10/man3/ctype.3')
-rw-r--r--static/v10/man3/ctype.3102
1 files changed, 102 insertions, 0 deletions
diff --git a/static/v10/man3/ctype.3 b/static/v10/man3/ctype.3
new file mode 100644
index 00000000..227d35f2
--- /dev/null
+++ b/static/v10/man3/ctype.3
@@ -0,0 +1,102 @@
+.TH CTYPE 3
+.CT 2 data_man
+.SH NAME
+isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, isascii \(mi character classification
+.SH SYNOPSIS
+.2C
+.B #include <ctype.h>
+.PP
+.B isalpha(c)
+.PP
+.B isupper(c)
+.PP
+.B islower(c)
+.PP
+.B isdigit(c)
+.PP
+.B isxdigit(c)
+.PP
+.B isalnum(c)
+.PP
+.B isspace(c)
+.PP
+.B ispunct(c)
+.PP
+.B isprint(c)
+.PP
+.B isgraph(c)
+.PP
+.B iscntrl(c)
+.PP
+.B isascii(c)
+.1C
+.SH DESCRIPTION
+These macros classify ASCII-coded integer values
+by table lookup.
+Each is a predicate returning nonzero for true,
+zero for false.
+.I Isascii
+is defined on all integer values; the rest
+are defined only where
+.I isascii
+is true and on the single non-ASCII value
+.BR EOF ;
+.IR stdio (3).
+.TP "\w'isalnum 'u"
+.I isalpha
+.I c
+is a letter, a-z or A-Z
+.TP
+.I isupper
+.I c
+is an upper case letter, A-Z
+.TP
+.I islower
+.I c
+is a lower case letter, a-z
+.TP
+.I isdigit
+.I c
+is a digit, 0-9
+.TP
+.I isxdigit
+.I c
+is a hexadecimal digit, 0-9 or a-f or A-F
+.TP
+.I isalnum
+.I c
+is an alphanumeric character, a-z or A-Z or 0-9
+.TP
+.I isspace
+.I c
+is a space, horizontal tab, vertical tab, carriage return, newline, or formfeed
+(040, 011, 012, 013, 014, 015)
+.TP
+.I ispunct
+.I c
+is a punctuation character
+(one of
+.L
+!"#$%&'()*+,-./:;<=>?@[\e]^_`{|}~\fR)
+.TP
+.I isprint
+.I c
+is a printing character, 040 (space)
+through 0176 (tilde)
+.TP
+.I isgraph
+.I c
+is a visible printing character, 041 (exclamation) through 0176
+(tilde)
+.TP
+.I iscntrl
+.I c
+is a delete character, 0177,
+or ordinary control character, 000 through 037
+.TP
+.I isascii
+.I c
+is an ASCII character, 000 through 0177
+.SH "SEE ALSO"
+.IR tolower (3),
+.IR ascii (6)