Messages in this thread | ![/](/images/icornerl.gif) | | From | Systemkennung Linux <> | Subject | Re: typedef wchar_t? | Date | Thu, 11 Jul 1996 14:41:25 +0200 (MET DST) |
| |
Hi all,
> I'm trying to do some internationalization work that requires the use of > wchar_t. POSIX docs (and others) indicate that this should be defined > in <stddef.h> with some useful functions in <stdlib.h>. I've got the > function headers fine; <stdlib.h> defines __need_wchar_t and includes a > comment that size_t, wchar_t and NULL should be in <stddef.h>; but > /usr/include/linux/stddef.h only has a typedef for size_t and a define > for NULL --no typedef wchar_t. What am I missing?
The file you're searching for is part of GCC, not of libc's or Linux's includes. Look in <prefix>/lib/gcc-lib/<target>/<version>/include/stddef.h. It also provides several other important definitions.
Ralf
| ![\](/images/icornerr.gif) |