home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1999 March B
/
SCO_CASTOR4RRT.iso
/
uccs
/
root.14
/
udk
/
usr
/
include
/
stddef.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-08-19
|
994b
|
38 lines
/*
* Copyright (c) 1998 The Santa Cruz Operation, Inc.. All Rights Reserved.
*
* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF THE
* SANTA CRUZ OPERATION INC.
*
* The copyright notice above does not evidence any actual or intended
* publication of such source code.
*/
#ifndef _STDDEF_H
#define _STDDEF_H
#ident "@(#)sgs-head:common/head/stddef.h 1.9"
typedef long ptrdiff_t;
#ifndef _SIZE_T
# define _SIZE_T
typedef unsigned int size_t;
#endif
#ifndef NULL
#define NULL 0
#endif
#ifndef _WCHAR_T
# define _WCHAR_T
typedef long wchar_t;
#endif
#if defined(__cplusplus)
#define offsetof(s, m) ((size_t)__INTADDR__(&((s *)0)->m))
#else
#define offsetof(s, m) (size_t)(&(((s *)0)->m))
#endif
#endif /*_STDDEF_H*/