xref: /original-bsd/lib/libc/locale/isalnum.3 (revision ba762ddc)
1.\" Copyright (c) 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)isalnum.3	5.1 (Berkeley) 05/02/91
7.\"
8.Dd
9.Dt ISALNUM 3
10.Os
11.Sh NAME
12.Nm isalnum
13.Nd alphanumeric character test
14.Sh SYNOPSIS
15.Fd #include <ctype.h>
16.Ft int
17.Fn isalnum "int c"
18.Sh DESCRIPTION
19The
20.Fn isalnum
21macro tests for any character for which
22.Xr isalpha 3
23or
24.Xr isdigit 3
25is true.
26.Sh RETURN VALUES
27The
28.Fn isalnum
29macro returns zero if the character tests false and
30returns non-zero if the character tests true.
31.Sh SEE ALSO
32.Xr isascii 3 ,
33.Xr isalnum 3 ,
34.Xr isalpha 3 ,
35.Xr iscntrl 3 ,
36.Xr isdigit 3 ,
37.Xr isgraph 3 ,
38.Xr islower 3 ,
39.Xr isprint 3 ,
40.Xr ispunct 3 ,
41.Xr isspace 3 ,
42.Xr isupper 3 ,
43.Xr isxdigit 3 ,
44.Xr toascii 3 ,
45.Xr tolower 3 ,
46.Xr toupper 3 ,
47.Xr stdio 3
48.Xr ascii 7
49.Sh STANDARDS
50The
51.Fn isalnum
52function conforms to
53.St -ansiC .
54