Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1906 | serge | 1 | |
2 | FUNCTION |
||
3 | < |
||
4 | |||
5 | |||
6 | isblank |
||
7 | |||
8 | |||
9 | #include |
||
10 | int isblank(int <[c]>); |
||
11 | |||
12 | |||
13 | #include |
||
14 | int isblank(<[c]>); |
||
15 | |||
16 | |||
17 | < |
||
18 | lookup. It is a predicate returning non-zero for blank characters, and 0 |
||
19 | for other characters. |
||
20 | |||
21 | |||
22 | < |
||
23 | |||
24 | |||
25 | < |
||
26 | |||
27 | |||
28 | */ |
||
29 | |||
30 | |||
31 | #include |
||
32 | |||
33 | |||
34 | |||
35 | |||
36 | int |
||
37 | _DEFUN(isblank,(c),int c) |
||
38 | { |
||
39 | return ((__ctype_ptr__[c+1] & _B) || (c == '\t')); |
||
40 | } |
||
41 |