1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00

New module 'mbtowc'.

* lib/stdlib.in.h (mbtowc): New declaration.
* lib/mbtowc.c: New file.
* lib/mbtowc-impl.h: New file, from libutf8 with modifications
* m4/mbtowc.m4: New file.
* m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_MBTOWC,
REPLACE_MBTOWC.
* modules/stdlib (Makefile.am): Substitute GNULIB_MBTOWC,
REPLACE_MBTOWC.
* modules/mbtowc: New file.
* tests/test-stdlib-c++.cc: Test signature of mbtowc.
* doc/posix-functions/mbtowc.texi: Mention the new module.
* modules/btowc (Depends-on): Add mbtowc.
This commit is contained in:
Bruno Haible
2011-02-22 14:01:29 +01:00
parent c147d9fffb
commit 82e60758d2
11 changed files with 162 additions and 2 deletions

26
modules/mbtowc Normal file
View File

@@ -0,0 +1,26 @@
Description:
mbtowc() function: convert multibyte character to wide character.
Files:
lib/mbtowc.c
lib/mbtowc-impl.h
m4/mbtowc.m4
Depends-on:
stdlib
mbrtowc
configure.ac:
gl_FUNC_MBTOWC
gl_STDLIB_MODULE_INDICATOR([mbtowc])
Makefile.am:
Include:
<stdlib.h>
License:
LGPLv2+
Maintainer:
Bruno Haible