home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff314.lha
/
zc
/
zc.lzh
/
include
/
stddef.h
< prev
next >
Wrap
C/C++ Source or Header
|
1989-05-13
|
389b
|
20 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 */
/* offset in bytes of 'membr' in structure 'typ' */
#define offsetof(T,m) \
((size_t) (((char *) &(((T *) 256)->m)) - ((char *) ((T *) 256))))
#endif STDDEF_H