whitespace */
| 26 | |
| 27 | /* whitespace */ |
| 28 | static inline int |
| 29 | is_ws(unsigned char ch) |
| 30 | { |
| 31 | const unsigned int mask = (1U << (' ' - 1)) | (1U << ('\r' - 1)) | |
| 32 | (1U << ('\n' - 1)) | (1U << ('\t' - 1)); |
| 33 | ch--; |
| 34 | return ch < ' ' && ((1U << ch) & mask); |
| 35 | } |
| 36 | |
| 37 | /* |
| 38 | * trim leading ws |
no outgoing calls
no test coverage detected