diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2012-06-06 16:58:03 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2012-06-06 16:58:03 +0000 |
commit | e6b7baa38b9c9d4730b74744f6795b2ae0941a06 (patch) | |
tree | aac2a5956a548f193a19189cb947c38b617f1a90 /include/wchar.h | |
parent | 64e66057c29657d2722c956cc3dbdd149aac406e (diff) |
Add support for mbsnrtowcs() and wcsnrtombs() to libc.
Bulk build test by naddy.
Diffstat (limited to 'include/wchar.h')
-rw-r--r-- | include/wchar.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/wchar.h b/include/wchar.h index 91b75336ed7..d91204f12b3 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wchar.h,v 1.22 2012/01/05 20:37:50 kettenis Exp $ */ +/* $OpenBSD: wchar.h,v 1.23 2012/06/06 16:58:02 matthew Exp $ */ /* $NetBSD: wchar.h,v 1.16 2003/03/07 07:11:35 tshiozak Exp $ */ /*- @@ -158,6 +158,11 @@ unsigned long int wcstoul(const wchar_t * __restrict, wchar_t ** __restrict, wchar_t *wcsdup(const wchar_t *); int wcscasecmp(const wchar_t *, const wchar_t *); int wcsncasecmp(const wchar_t *, const wchar_t *, size_t); + +size_t mbsnrtowcs(wchar_t * __restrict, const char ** __restrict, size_t, + size_t, mbstate_t * __restrict); +size_t wcsnrtombs(char * __restrict, const wchar_t ** __restrict, size_t, + size_t, mbstate_t * __restrict); #endif #if __ISO_C_VISIBLE >= 1999 |