]>
git.ipfire.org Git - thirdparty/util-linux.git/blob - include/widechar.h
1 /* Declarations for wide characters */
2 /* This file must be included last because the redefinition of wchar_t may
3 cause conflicts when system include files were included after it. */
10 #else /* !HAVE_WIDECHAR */
13 /* Fallback for types */
20 /* Fallback for input operations */
23 # define getwchar getchar
26 /* Fallback for output operations */
29 # define putwchar putchar
32 /* Fallback for character classification */
33 # define iswgraph isgraph
34 # define iswprint isprint
35 # define iswspace isspace
37 /* Fallback for string functions */
38 # define wcschr strchr
39 # define wcsdup strdup
40 # define wcslen strlen
41 # define wcspbrk strpbrk
43 # define wcwidth(c) (1)
44 # define wmemset memset
45 # define ungetwc ungetc
47 #endif /* HAVE_WIDECHAR */