home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
fish
/
languages
/
northc_384
/
include
/
stddef.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-08-30
|
433b
|
21 lines
/*
* STDDEF.H standard definitions
*/
#ifndef STDDEF_H
#define STDDEF_H
#ifndef NULL
#define NULL (0L)
#endif
typedef int size_t; /* sizeof() value type */
typedef long ptrdiff_t; /* pointer subtraction result type */
typedef int wchar_t; /* wide characters */
/* offset in bytes of 'membr' in structure 'typ' */
#define offsetof(T,m) \
((size_t) (((char *) &(((T *) 256)->m)) - ((char *) ((T *) 256))))
#endif STDDEF_H