]>
git.ipfire.org Git - thirdparty/util-linux.git/blob - include/widechar.h
2 * No copyright is claimed. This code is in the public domain; do with
6 /* Declarations for wide characters */
7 /* This file must be included last because the redefinition of wchar_t may
8 cause conflicts when system include files were included after it. */
15 #else /* !HAVE_WIDECHAR */
18 /* Fallback for types */
25 /* Fallback for input operations */
28 # define getwchar getchar
31 /* Fallback for output operations */
34 # define putwchar putchar
37 /* Fallback for character classification */
38 # define iswgraph isgraph
39 # define iswprint isprint
40 # define iswspace isspace
42 /* Fallback for string functions */
43 # define wcschr strchr
44 # define wcsdup strdup
45 # define wcslen strlen
46 # define wcspbrk strpbrk
48 # define wcwidth(c) (1)
49 # define wmemset memset
50 # define ungetwc ungetc
52 #endif /* HAVE_WIDECHAR */