41.html
来自「linux 0.11中文版 有注释」· HTML 代码 · 共 39 行
HTML
39 行
<html>
<head>
<title>include/stddef.h</title>
<meta name='robots' content='noindex,nofollow'>
<meta name='generator' content='GLOBAL-5.4.1'>
</head>
<body text='#191970' bgcolor='#f5f5dc' vlink='gray'>
<a name='TOP'><h2><a href='../mains.html'>root</a>/<a href='../files/99.html'>include</a>/stddef.h</h2>
<i><font color='green'>/* [<][>][^][v][top]<a href='#BOTTOM'>[bottom]</a><a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</font></i>
<hr>
<h2><a href='../J/41.html' title='Multiple included from 2 places.'>INCLUDED FROM</a></h2>
<hr>
<pre>
<a name='L1'><font color='darkred'>#ifndef</font> <a href='../S/41.html#L2' title='Defined at 2 in include/stddef.h.'>_STDDEF_H</a>
<a name='L2'><font color='darkred'>#define</font> <a href='../S/41.html#L1' title='Refered from 1 in include/stddef.h.'>_STDDEF_H</a>
<a name='L3'>
<a name='L4'><font color='darkred'>#ifndef</font> <a href='../D/583.html' title='Multiple defined in 2 places.'>_PTRDIFF_T</a>
<a name='L5'><font color='darkred'>#define</font> <a href='../R/342.html' title='Multiple refered from 2 places.'>_PTRDIFF_T</a>
<a name='L6'><b>typedef</b> <b>long</b> <a href='../S/50.html#L218' title='Refered from 218 in include/unistd.h.'>ptrdiff_t</a>; <i><font color='green'>// 两个指针相减结果的类型。</font></i>
<a name='L7'><font color='darkred'>#endif</font>
<a name='L8'>
<a name='L9'><font color='darkred'>#ifndef</font> <a href='../D/595.html' title='Multiple defined in 4 places.'>_SIZE_T</a>
<a name='L10'><font color='darkred'>#define</font> <a href='../R/346.html' title='Multiple refered from 4 places.'>_SIZE_T</a>
<a name='L11'><b>typedef</b> <b>unsigned</b> <b>long</b> <a href='../R/611.html' title='Multiple refered from 2 places.'>size_t</a>; <i><font color='green'>// sizeof 返回的类型。</font></i>
<a name='L12'><font color='darkred'>#endif</font>
<a name='L13'>
<a name='L14'><font color='darkred'>#undef</font> <a href='../R/149.html' title='Multiple refered from 109 places.'>NULL</a>
<a name='L15'><font color='darkred'>#define</font> <a href='../R/149.html' title='Multiple refered from 109 places.'>NULL</a> ((<b>void</b> *)0) <i><font color='green'>// 空指针。</font></i>
<a name='L16'>
<a name='L17'><font color='darkred'>#define</font> offsetof(<a href='../S/55.html#L73' title='Defined at 73 in kernel/blk_drv/floppy.c.'>TYPE</a>, MEMBER) ((<a href='../D/979.html' title='Multiple defined in 4 places.'>size_t</a>) &((TYPE *)0)->MEMBER) <i><font color='green'>// 成员在类型中的偏移位置。</font></i>
<a name='L18'>
<a name='L19'><font color='darkred'>#endif</font>
</pre>
<hr>
<a name='BOTTOM'>
<i><font color='green'>/* [<][>][^][v]<a href='#TOP'>[top]</a>[bottom]<a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</font></i>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?