c32isblank() is too variable on non GLIBC platforms. E.g., does not include \u3000 ideographic space on musl. E.g., does include non-breaking space on Solaris and NetBSD. This equivalent is more consistent across systems. */
| 174 | E.g., does include non-breaking space on Solaris and NetBSD. |
| 175 | This equivalent is more consistent across systems. */ |
| 176 | ATTRIBUTE_PURE |
| 177 | static inline bool |
| 178 | c32issep (char32_t wc) |
| 179 | { |
| 180 | #if defined __GLIBC__ |
| 181 | return !! c32isblank (wc); |
| 182 | #else |
| 183 | return c32isspace (wc) && ! c32isvertspace (wc) && ! c32isnbspace (wc); |
| 184 | #endif |
| 185 | } |
| 186 | |
| 187 | /* Return true if the current charset is UTF-8. */ |
| 188 | static inline bool |
no test coverage detected