diff options
author | Daniel Sabogal <dsabogalcc@gmail.com> | 2016-09-09 21:23:17 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-09-16 18:18:34 -0400 |
commit | 5505f6afae9acf37ef565c68a07ca3df7b1ae2cb (patch) | |
tree | d78cf99b82821b8a1e244c00750252c1f9c34979 /include/wchar.h | |
parent | 32055d52ca43d867d6dbb763dc5213a8d3536a23 (diff) | |
download | musl-5505f6afae9acf37ef565c68a07ca3df7b1ae2cb.tar.gz musl-5505f6afae9acf37ef565c68a07ca3df7b1ae2cb.tar.bz2 musl-5505f6afae9acf37ef565c68a07ca3df7b1ae2cb.tar.xz musl-5505f6afae9acf37ef565c68a07ca3df7b1ae2cb.zip |
add missing *_unlocked and wcsftime_l prototypes to wchar.h
these functions had been implemented, but prototypes were not made available
Diffstat (limited to 'include/wchar.h')
-rw-r--r-- | include/wchar.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/wchar.h b/include/wchar.h index 0167dce6..3e6db5fc 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -136,6 +136,21 @@ size_t wcsftime (wchar_t *__restrict, size_t, const wchar_t *__restrict, const s #undef iswdigit +#if defined(_GNU_SOURCE) +wint_t fgetwc_unlocked (FILE *); +wint_t getwc_unlocked (FILE *); +wint_t getwchar_unlocked (void); +wint_t fputwc_unlocked (wchar_t, FILE *); +wint_t putwc_unlocked (wchar_t, FILE *); +wint_t putwchar_unlocked (wchar_t); +wchar_t *fgetws_unlocked (wchar_t *__restrict, int, FILE *__restrict); +int fputws_unlocked (const wchar_t *__restrict, FILE *__restrict); +#endif + +#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +size_t wcsftime_l (wchar_t *__restrict, size_t, const wchar_t *__restrict, const struct tm *__restrict, locale_t); +#endif + #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) FILE *open_wmemstream(wchar_t **, size_t *); |