1
.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved
2
.TH "ISALPHA" P 2003 POSIX
5
isalpha \- test for an alphabetic character
11
int isalpha(int\fP \fIc\fP\fB);
16
The \fIisalpha\fP() function shall test whether \fIc\fP is a character
17
of class \fBalpha\fP in the program's current locale;
18
see the Base Definitions volume of IEEE\ Std\ 1003.1-2001, Chapter
21
The \fIc\fP argument is an \fBint\fP, the value of which the application
22
shall ensure is representable as an \fBunsigned
23
char\fP or equal to the value of the macro EOF. If the argument has
24
any other value, the behavior is undefined.
27
The \fIisalpha\fP() function shall return non-zero if \fIc\fP is an
28
alphabetic character; otherwise, it shall return 0.
31
No errors are defined.
33
\fIThe following sections are informative.\fP
39
To ensure applications portability, especially across natural languages,
40
only this function and those listed in the SEE ALSO
41
section should be used for character classification.
50
\fIisalnum\fP() , \fIiscntrl\fP() , \fIisdigit\fP() , \fIisgraph\fP()
52
\fIisprint\fP() , \fIispunct\fP() , \fIisspace\fP() , \fIisupper\fP()
54
\fIsetlocale\fP() , the Base Definitions volume of IEEE\ Std\ 1003.1-2001,
55
Chapter 7, Locale, \fI<ctype.h>\fP, \fI<stdio.h>\fP
57
Portions of this text are reprinted and reproduced in electronic form
58
from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
59
-- Portable Operating System Interface (POSIX), The Open Group Base
60
Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
61
Electrical and Electronics Engineers, Inc and The Open Group. In the
62
event of any discrepancy between this version and the original IEEE and
63
The Open Group Standard, the original IEEE and The Open Group Standard
64
is the referee document. The original Standard can be obtained online at
65
http://www.opengroup.org/unix/online.html .