stddef.h

来自「Montavista Linux 下的多平台编译软件xdc」· C头文件 代码 · 共 59 行

H
59
字号
/*****************************************************************************//* stddef.h   v6.0.3                                                         *//* Copyright (c) 1993-2006 Texas Instruments Incorporated                    *//*****************************************************************************/#ifndef _STDDEF#define _STDDEF#ifdef __cplusplusextern "C" namespace std {#endif#ifndef NULL#define NULL 0#endiftypedef __PTRDIFF_T_TYPE__ ptrdiff_t;#ifndef _SIZE_T#define _SIZE_Ttypedef __SIZE_T_TYPE__ size_t;#endif#ifndef __cplusplus#ifndef _WCHAR_T#define _WCHAR_Ttypedef __WCHAR_T_TYPE__ wchar_t;#endif /* _WCHAR_T */#endif /* ! __cplusplus */#define offsetof(_type, _ident) ((size_t)__intaddr__(&(((_type *)0)->_ident)))#ifdef __cplusplus} /* extern "C" namespace std */#ifndef _CPP_STYLE_HEADERusing std::ptrdiff_t;using std::size_t;/*using std::wchar_t;*/#endif#endif  /* __cplusplus */#else#ifdef __cplusplus#ifndef _CPP_STYLE_HEADERusing std::ptrdiff_t;using std::size_t;/*using std::wchar_t;*/#endif#endif  /* __cplusplus */#endif  /* _STDDEF */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?