diff options
author | tjr <tjr@FreeBSD.org> | 2005-08-13 05:54:33 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2005-08-13 05:54:33 +0000 |
commit | d0e833a8a7c2047711efdf3ea08308aea8847f02 (patch) | |
tree | f2a3d38e96b8bed43effcdd48821cd8bf59b0bd7 /include | |
parent | 4a5927242595d1576c993de352373f6a4fcd7b25 (diff) | |
download | FreeBSD-src-d0e833a8a7c2047711efdf3ea08308aea8847f02.zip FreeBSD-src-d0e833a8a7c2047711efdf3ea08308aea8847f02.tar.gz |
Add an implementation of the semi-standard wcsdup() function, as found
on Microsoft and GNU systems.
Diffstat (limited to 'include')
-rw-r--r-- | include/wchar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wchar.h b/include/wchar.h index 931a408..2326b1d 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -214,6 +214,7 @@ int wcwidth(wchar_t); wchar_t *fgetwln(struct __sFILE * __restrict, size_t * __restrict); size_t mbsnrtowcs(wchar_t * __restrict, const char ** __restrict, size_t, size_t, mbstate_t * __restrict); +wchar_t *wcsdup(const wchar_t *); size_t wcsnrtombs(char * __restrict, const wchar_t ** __restrict, size_t, size_t, mbstate_t * __restrict); size_t wcslcat(wchar_t *, const wchar_t *, size_t); |