. use library function to parse memory string
[minix3.git] / lib / ansi / wctomb.c
blob9f273c13e0f313bfb41ad3456694fb362225f9f4
1 /*
2 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3 * See the copyright notice in the ACK home directory, in the file "Copyright".
4 */
5 /* $Header$ */
7 #include <stdlib.h>
8 #include <limits.h>
10 int
11 /* was: wctomb(char *s, wchar_t wchar)
12 * This conflicts with prototype, so it was changed to:
14 wctomb(char *s, wchar_t wchar)
16 if (!s) return 0; /* no state dependent codings */
18 *s = wchar;
19 return 1;