projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddd87b2
)
missing prototypes for mbsnrtowcs and wcsnrtombs
author
Rich Felker
<dalias@aerifal.cx>
Mon, 30 May 2011 17:32:40 +0000
(13:32 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Mon, 30 May 2011 17:32:40 +0000
(13:32 -0400)
include/wchar.h
patch
|
blob
|
history
diff --git
a/include/wchar.h
b/include/wchar.h
index f53621065438f06d96373cc733ac4947c4399542..27f00166b1eb9a4d96536ab8bb8fc5443cd61af7 100644
(file)
--- 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);