📄 26.html
字号:
<html>
<head>
<title>include/const.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>/const.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='14.html#L22' title='Included from 22 in fs/namei.c.'>INCLUDED FROM</a></h2>
<hr>
<pre>
<a name='L1'><font color='darkred'>#ifndef</font> <a href='../S/26.html#L2' title='Defined at 2 in include/const.h.'>_CONST_H</a>
<a name='L2'><font color='darkred'>#define</font> <a href='../S/26.html#L1' title='Refered from 1 in include/const.h.'>_CONST_H</a>
<a name='L3'>
<a name='L4'><font color='darkred'>#define</font> BUFFER_END 0x200000 <i><font color='green'>// 定义缓冲使用内存的末端(代码中没有使用该常量)。</font></i>
<a name='L5'>
<a name='L6'><i><font color='green'>// i 节点数据结构中i_mode 字段的各标志位。</font></i>
<a name='L7'><font color='darkred'>#define</font> I_TYPE 0170000 <i><font color='green'>// 指明i 节点类型。</font></i>
<a name='L8'><font color='darkred'>#define</font> <a href='../S/14.html#L793' title='Refered from 793 in fs/namei.c.'>I_DIRECTORY</a> 0040000 <i><font color='green'>// 是目录文件。</font></i>
<a name='L9'><font color='darkred'>#define</font> <a href='../S/14.html#L536' title='Refered from 536 in fs/namei.c.'>I_REGULAR</a> 0100000 <i><font color='green'>// 常规文件,不是目录文件或特殊文件。</font></i>
<a name='L10'><font color='darkred'>#define</font> I_BLOCK_SPECIAL 0060000 <i><font color='green'>// 块设备特殊文件。</font></i>
<a name='L11'><font color='darkred'>#define</font> I_CHAR_SPECIAL 0020000 <i><font color='green'>// 字符设备特殊文件。</font></i>
<a name='L12'><font color='darkred'>#define</font> I_NAMED_PIPE 0010000 <i><font color='green'>// 命名管道。</font></i>
<a name='L13'><font color='darkred'>#define</font> I_SET_UID_BIT 0004000 <i><font color='green'>// 在执行时设置有效用户id 类型。</font></i>
<a name='L14'><font color='darkred'>#define</font> I_SET_GID_BIT 0002000 <i><font color='green'>// 在执行时设置有效组id 类型。</font></i>
<a name='L15'>
<a name='L16'><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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -