Rev 1173 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1173 | Rev 1314 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | static inline int isdigit(int c) |
32 | static inline int isdigit(int c) |
33 | { |
33 | { |
34 | return ((c >= '0' )&&( c <= '9')); |
34 | return ((c >= '0' )&&( c <= '9')); |
35 | } |
35 | } |
36 | 36 | ||
- | 37 | static inline int isspace(int c) |
|
- | 38 | { |
|
- | 39 | switch(c) { |
|
- | 40 | case ' ': |
|
- | 41 | case '\n': |
|
- | 42 | case '\t': |
|
- | 43 | case '\f': |
|
- | 44 | case '\r': |
|
- | 45 | case '\v': |
|
- | 46 | return 1; |
|
- | 47 | break; |
|
- | 48 | default: |
|
- | 49 | return 0; |
|
- | 50 | } |
|
- | 51 | } |
|
- | 52 | ||
37 | #endif |
53 | #endif |
38 | 54 |