xref: /csrg-svn/lib/libc/locale/isalnum.3 (revision 50304)
148903Scael.\" Copyright (c) 1991 The Regents of the University of California.
248903Scael.\" All rights reserved.
348903Scael.\"
4*50304Sbostic.\" This code is derived from software contributed to Berkeley by
5*50304Sbostic.\" the American National Standards Committee X3, on Information
6*50304Sbostic.\" Processing Systems.
7*50304Sbostic.\"
848903Scael.\" %sccs.include.redist.man%
948903Scael.\"
10*50304Sbostic.\"     @(#)isalnum.3	5.2 (Berkeley) 06/29/91
1148903Scael.\"
1248903Scael.Dd
1348903Scael.Dt ISALNUM 3
1448903Scael.Os
1548903Scael.Sh NAME
1648903Scael.Nm isalnum
1748903Scael.Nd alphanumeric character test
1848903Scael.Sh SYNOPSIS
1948903Scael.Fd #include <ctype.h>
2048903Scael.Ft int
2148903Scael.Fn isalnum "int c"
2248903Scael.Sh DESCRIPTION
2348903ScaelThe
2448903Scael.Fn isalnum
2548903Scaelmacro tests for any character for which
2648903Scael.Xr isalpha 3
2748903Scaelor
2848903Scael.Xr isdigit 3
2948903Scaelis true.
3048903Scael.Sh RETURN VALUES
3148903ScaelThe
3248903Scael.Fn isalnum
3348903Scaelmacro returns zero if the character tests false and
3448903Scaelreturns non-zero if the character tests true.
3548903Scael.Sh SEE ALSO
3648903Scael.Xr isascii 3 ,
3748903Scael.Xr isalnum 3 ,
3848903Scael.Xr isalpha 3 ,
3948903Scael.Xr iscntrl 3 ,
4048903Scael.Xr isdigit 3 ,
4148903Scael.Xr isgraph 3 ,
4248903Scael.Xr islower 3 ,
4348903Scael.Xr isprint 3 ,
4448903Scael.Xr ispunct 3 ,
4548903Scael.Xr isspace 3 ,
4648903Scael.Xr isupper 3 ,
4748903Scael.Xr isxdigit 3 ,
4848903Scael.Xr toascii 3 ,
4948903Scael.Xr tolower 3 ,
5048903Scael.Xr toupper 3 ,
5148903Scael.Xr stdio 3
5248903Scael.Xr ascii 7
5348903Scael.Sh STANDARDS
5448903ScaelThe
5548903Scael.Fn isalnum
5648903Scaelfunction conforms to
5748903Scael.St -ansiC .
58