diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-11-24 02:08:40 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-11-24 02:08:40 +0000 |
commit | e34b0f2902588bbbfaf55829692e32c3c7134b74 (patch) | |
tree | 3d74df649b5b0bf80b4f6070e360f405516caec5 /wcsmbs/wchar.h | |
parent | f43ce637b5f35b350b4dff6810dd6a7421fbb952 (diff) | |
download | glibc-e34b0f2902588bbbfaf55829692e32c3c7134b74.tar.gz glibc-e34b0f2902588bbbfaf55829692e32c3c7134b74.tar.xz glibc-e34b0f2902588bbbfaf55829692e32c3c7134b74.zip |
Update. cvs/libc-ud-971123
1997-11-24 03:01 Ulrich Drepper <drepper@cygnus.com> * elf/dl-support.c: Call __libc_init_secure to make sure __libc_enable_secure is defined early. * sysdeps/generic/enbl-secure.c: Change function name to __libc_init_secure and make it global instead of a constructor. * iconv/gconv.c: Fix lots of bugs. * iconv/gconv.h: Likewise. * iconv/gconv_builtin.h: Likewise. * iconv/gconv_close.c: Likewise. * iconv/gconv_conf.c: Likewise. * iconv/gconv_db.c: Likewise. * iconv/gconv_dl.c: Likewise. * iconv/gconv_open.c: Likewise. * iconv/gconv_simple.c: Likewise. * iconv/iconv.c: Likewise. * iconv/iconv_close.c: Likewise. * iconv/iconv_open.c: Likewise. * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs. * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs. * wcsmbs/wmemrtombs.c: New file. * wcsmbs/wmemrtowcs.c: New file.
Diffstat (limited to 'wcsmbs/wchar.h')
-rw-r--r-- | wcsmbs/wchar.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/wcsmbs/wchar.h b/wcsmbs/wchar.h index 966d20cba1..4c8f9a4dcf 100644 --- a/wcsmbs/wchar.h +++ b/wcsmbs/wchar.h @@ -253,6 +253,16 @@ extern size_t mbsnrtowcs __P ((wchar_t *__restrict __dst, __const char **__restrict __src, size_t __nmc, size_t __len, mbstate_t *__restrict __ps)); +/* Similar function to the above but this does not stop at NUL bytes. */ +extern size_t __wmemrtowcs __P ((wchar_t *__restrict __dst, + __const char **__restrict __src, + size_t __nmc, size_t __len, + mbstate_t *__restrict __ps)); +extern size_t wmemrtowcs __P ((wchar_t *__restrict __dst, + __const char **__restrict __src, + size_t __nmc, size_t __len, + mbstate_t *__restrict __ps)); + /* Write multibyte character representation of at most NWC characters from the wide character string SRC to DST. */ extern size_t __wcsnrtombs __P ((char *__restrict __dst, @@ -264,6 +274,16 @@ extern size_t wcsnrtombs __P ((char *__restrict __dst, size_t __nwc, size_t __len, mbstate_t *__restrict __ps)); +/* Similar function to the above but this does not stop at NUL bytes. */ +extern size_t __wmemrtombs __P ((char *__restrict __dst, + __const wchar_t **__restrict __src, + size_t __nwc, size_t len, + mbstate_t *__restrict __ps)); +extern size_t wmemrtombs __P ((char *__restrict __dst, + __const wchar_t **__restrict __src, + size_t __nwc, size_t len, + mbstate_t *__restrict __ps)); + /* The following functions are extensions found in X/Open CAE. */ |