lkml.org 
[lkml]   [1996]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: typedef wchar_t?
Date
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


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.017 / U:3.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site