Rev 4874 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4349 | Serge | 1 | |
2 | FUNCTION |
||
3 | < |
||
4 | |||
5 | |||
6 | islower |
||
7 | |||
8 | |||
9 | #include |
||
10 | int islower(int <[c]>); |
||
11 | |||
12 | |||
13 | #include |
||
14 | int islower(<[c]>); |
||
15 | |||
16 | |||
17 | < |
||
18 | lookup. It is a predicate returning non-zero for minuscules |
||
19 | (lowercase alphabetic characters), and 0 for other characters. |
||
20 | It is defined only if <[c]> is representable as an unsigned char or if |
||
4921 | Serge | 21 | <[c]> is EOF. |
22 | |||
4349 | Serge | 23 | |
24 | undefining the macro using `<<#undef islower>>'. |
||
25 | |||
26 | |||
27 | < |
||
28 | |||
29 | |||
30 | < |
||
31 | |||
32 | |||
33 | */ |
||
34 | #include <_ansi.h> |
||
35 | #include |
||
36 | |||
37 | |||
38 | int |
||
39 | _DEFUN(islower,(c),int c) |
||
40 | { |
||
41 | return ((__ctype_ptr__[c+1] & (_U|_L)) == _L); |
||
42 | } |
||
43 |