G
Guo Congbin
if size_t is a macro, where is the defination? i look it up in the stddef.h,
but i find nothing about size_t.
this is the content of stddef.h of my system,
#ifndef _LINUX_STDDEF_H
#define _LINUX_STDDEF_H
#undef NULL
#if defined(__cplusplus)
#define NULL 0
#else
#define NULL ((void *)0)
#endif
#undef offsetof
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
#endif
i regard the size_t as unsigned int or unsigned long, and i am not very
confidence.
Please help me!
yours Guocongbin
2004.6.17
but i find nothing about size_t.
this is the content of stddef.h of my system,
#ifndef _LINUX_STDDEF_H
#define _LINUX_STDDEF_H
#undef NULL
#if defined(__cplusplus)
#define NULL 0
#else
#define NULL ((void *)0)
#endif
#undef offsetof
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
#endif
i regard the size_t as unsigned int or unsigned long, and i am not very
confidence.
Please help me!
yours Guocongbin
2004.6.17