diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-05-30 13:32:40 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-05-30 13:32:40 -0400 |
commit | c74d306f47e9f212a63dc0187fb08aa275a8f1a5 (patch) | |
tree | 4e9767a9f03128cd5098da5cc2467c0549da63f6 /include | |
parent | ddd87b2f10baf35ed32917bd488be8bf53ad0cc3 (diff) | |
download | musl-c74d306f47e9f212a63dc0187fb08aa275a8f1a5.tar.gz musl-c74d306f47e9f212a63dc0187fb08aa275a8f1a5.tar.bz2 musl-c74d306f47e9f212a63dc0187fb08aa275a8f1a5.tar.xz musl-c74d306f47e9f212a63dc0187fb08aa275a8f1a5.zip |
missing prototypes for mbsnrtowcs and wcsnrtombs
Diffstat (limited to 'include')
-rw-r--r-- | include/wchar.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/wchar.h b/include/wchar.h index f5362106..27f00166 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -131,6 +131,12 @@ size_t wcsftime (wchar_t *, size_t, const wchar_t *, const struct tm *); #undef iswdigit +#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ + || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) +size_t mbsnrtowcs(wchar_t *, const char **, size_t, size_t, mbstate_t *); +size_t wcsnrtombs(char *, const wchar_t **, size_t, size_t, mbstate_t *); +#endif + #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) int wcwidth (wchar_t); int wcswidth (const wchar_t *, size_t); |