1ISBLANK(P)                 POSIX Programmer's Manual                ISBLANK(P)
2
3
4

NAME

6       isblank - test for a blank character
7

SYNOPSIS

9       #include <ctype.h>
10
11       int isblank(int c);
12
13

DESCRIPTION

15       The  isblank()  function  shall  test whether c is a character of class
16       blank in the program's current locale; see the Base Definitions  volume
17       of IEEE Std 1003.1-2001, Chapter 7, Locale.
18
19       The  c argument is a type int, the value of which the application shall
20       ensure is a character representable as an unsigned char or equal to the
21       value of the macro EOF. If the argument has any other value, the behav‐
22       ior is undefined.
23

RETURN VALUE

25       The isblank() function shall return non-zero if c is a <blank>;  other‐
26       wise, it shall return 0.
27

ERRORS

29       No errors are defined.
30
31       The following sections are informative.
32

EXAMPLES

34       None.
35

APPLICATION USAGE

37       To  ensure  applications  portability,  especially  across natural lan‐
38       guages, only this function and those listed in  the  SEE  ALSO  section
39       should be used for character classification.
40

RATIONALE

42       None.
43

FUTURE DIRECTIONS

45       None.
46

SEE ALSO

48       isalnum() , isalpha() , iscntrl() , isdigit() , isgraph() , islower() ,
49       isprint() , ispunct() , isspace() , isupper()  ,  isxdigit()  ,  setlo‐
50       cale()  ,  the Base Definitions volume of IEEE Std 1003.1-2001, Chapter
51       7, Locale, <ctype.h>
52
54       Portions of this text are reprinted and reproduced in  electronic  form
55       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
56       -- Portable Operating System Interface (POSIX),  The  Open  Group  Base
57       Specifications  Issue  6,  Copyright  (C) 2001-2003 by the Institute of
58       Electrical and Electronics Engineers, Inc and The Open  Group.  In  the
59       event of any discrepancy between this version and the original IEEE and
60       The Open Group Standard, the original IEEE and The Open Group  Standard
61       is  the  referee document. The original Standard can be obtained online
62       at http://www.opengroup.org/unix/online.html .
63
64
65
66IEEE/The Open Group                  2003                           ISBLANK(P)
Impressum