xref: /csrg-svn/lib/libc/locale/isalnum.3 (revision 51387)
1.\" Copyright (c) 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the American National Standards Committee X3, on Information
6.\" Processing Systems.
7.\"
8.\" %sccs.include.redist.man%
9.\"
10.\"     @(#)isalnum.3	5.3 (Berkeley) 10/23/91
11.\"
12.Dd
13.Dt ISALNUM 3
14.Os
15.Sh NAME
16.Nm isalnum
17.Nd alphanumeric character test
18.Sh SYNOPSIS
19.Fd #include <ctype.h>
20.Ft int
21.Fn isalnum "int c";
22.Sh DESCRIPTION
23The
24.Fn isalnum
25function tests for any character for which
26.Xr isalpha 3
27or
28.Xr isdigit 3
29is true.
30.Sh RETURN VALUES
31The
32.Fn isalnum
33function returns zero if the character tests false and
34returns non-zero if the character tests true.
35.Sh SEE ALSO
36.Xr ctype 3 ,
37.Xr ascii 7
38.Sh STANDARDS
39The
40.Fn isalnum
41function conforms to
42.St -ansiC .
43