Rev 4872 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4349 | Serge | 1 | |
2 | FUNCTION |
||
3 | < |
||
4 | |||
5 | |||
6 | isspace |
||
7 | |||
8 | |||
9 | #include |
||
10 | int isspace(int <[c]>); |
||
11 | |||
12 | |||
13 | #include |
||
14 | int isspace(<[c]>); |
||
15 | |||
16 | |||
17 | < |
||
18 | lookup. It is a predicate returning non-zero for whitespace |
||
19 | characters, and 0 for other characters. It is defined only when < |
||
20 | |||
21 | |||
22 | undefining the macro using `<<#undef isspace>>'. |
||
23 | |||
24 | |||
25 | < |
||
26 | line, vertical tab, or formfeed (<<0x09>>--<<0x0D>>, <<0x20>>). |
||
27 | |||
28 | |||
29 | < |
||
30 | |||
31 | |||
32 | */ |
||
33 | #include <_ansi.h> |
||
34 | #include |
||
35 | |||
36 | |||
37 | |||
38 | int |
||
39 | _DEFUN(isspace,(c),int c) |
||
40 | { |
||
41 | return(__ctype_ptr__[c+1] & _S); |
||
42 | } |
||
43 |