Newer
Older
UbixOS / doc / xml / kern__descrip_8h.xml
<?xml version='1.0' encoding='iso-8859-1' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.4.7">
  <compounddef id="kern__descrip_8h" kind="file">
    <compoundname>kern_descrip.h</compoundname>
    <includes refid="thread_8h" local="no">sys/thread.h</includes>
    <includes refid="sysproto_8h" local="no">sys/sysproto.h</includes>
    <includes refid="file_8h" local="no">vfs/file.h</includes>
    <includedby refid="gen__calls_8c" local="no">src/sys/kernel/gen_calls.c</includedby>
    <includedby refid="kern__descrip_8c" local="no">src/sys/kernel/kern_descrip.c</includedby>
    <includedby refid="pipe_8c" local="no">src/sys/kernel/pipe.c</includedby>
    <includedby refid="sched_8c" local="no">src/sys/kernel/sched.c</includedby>
    <includedby refid="vfs_8c" local="no">src/sys/vfs/vfs.c</includedby>
    <incdepgraph>
      <node id="3744">
        <label>sys/thread.h</label>
        <link refid="thread_8h"/>
        <childnode refid="3745" relation="include">
        </childnode>
      </node>
      <node id="3745">
        <label>ubixos/types.h</label>
        <link refid="types_8h"/>
        <childnode refid="3746" relation="include">
        </childnode>
      </node>
      <node id="3746">
        <label>sys/_types.h</label>
        <link refid="__types_8h"/>
      </node>
      <node id="3749">
        <label>vfs/file.h</label>
        <link refid="file_8h"/>
        <childnode refid="3745" relation="include">
        </childnode>
        <childnode refid="3750" relation="include">
        </childnode>
        <childnode refid="3751" relation="include">
        </childnode>
      </node>
      <node id="3751">
        <label>vfs/mount.h</label>
        <link refid="mount_8h"/>
        <childnode refid="3745" relation="include">
        </childnode>
      </node>
      <node id="3743">
        <label>src/sys/include/sys/kern_descrip.h</label>
        <link refid="kern_descrip.h"/>
        <childnode refid="3744" relation="include">
        </childnode>
        <childnode refid="3747" relation="include">
        </childnode>
        <childnode refid="3749" relation="include">
        </childnode>
      </node>
      <node id="3750">
        <label>ubixfs/dirCache.h</label>
        <link refid="dirCache_8h"/>
        <childnode refid="3745" relation="include">
        </childnode>
      </node>
      <node id="3747">
        <label>sys/sysproto.h</label>
        <link refid="sysproto_8h"/>
        <childnode refid="3748" relation="include">
        </childnode>
        <childnode refid="3744" relation="include">
        </childnode>
      </node>
      <node id="3748">
        <label>sys/signal.h</label>
        <link refid="signal_8h"/>
        <childnode refid="3745" relation="include">
        </childnode>
      </node>
    </incdepgraph>
    <invincdepgraph>
      <node id="3755">
        <label>src/sys/kernel/pipe.c</label>
        <link refid="pipe_8c"/>
      </node>
      <node id="3756">
        <label>src/sys/kernel/sched.c</label>
        <link refid="sched_8c"/>
      </node>
      <node id="3752">
        <label>src/sys/include/sys/kern_descrip.h</label>
        <link refid="kern_descrip.h"/>
        <childnode refid="3753" relation="include">
        </childnode>
        <childnode refid="3754" relation="include">
        </childnode>
        <childnode refid="3755" relation="include">
        </childnode>
        <childnode refid="3756" relation="include">
        </childnode>
        <childnode refid="3757" relation="include">
        </childnode>
      </node>
      <node id="3754">
        <label>src/sys/kernel/kern_descrip.c</label>
        <link refid="kern__descrip_8c"/>
      </node>
      <node id="3753">
        <label>src/sys/kernel/gen_calls.c</label>
        <link refid="gen__calls_8c"/>
      </node>
      <node id="3757">
        <label>src/sys/vfs/vfs.c</label>
        <link refid="vfs_8c"/>
      </node>
    </invincdepgraph>
    <innerclass refid="struct____timespec" prot="public">__timespec</innerclass>
    <innerclass refid="structfile" prot="public">file</innerclass>
    <innerclass refid="structstat" prot="public">stat</innerclass>
      <sectiondef kind="define">
      <memberdef kind="define" id="kern__descrip_8h_1b93a8621587aba90181efd7d3aeea67e" prot="public" static="no">
        <name>F_DUPFD</name>
        <initializer>0</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="42" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="42" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_1bc11141031604fb22b8e3a201155cbb3" prot="public" static="no">
        <name>F_GETFD</name>
        <initializer>1</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="43" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="43" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_1025fad21a889c79f02ec53abe3526c32" prot="public" static="no">
        <name>F_GETFL</name>
        <initializer>3</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="45" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="45" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_12c3005e07f9aedb5d77856d13c3e40c4" prot="public" static="no">
        <name>F_GETLK</name>
        <initializer>7</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="49" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="49" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_1a76959dcf54457a81c4cdf7789ba73e4" prot="public" static="no">
        <name>F_GETOWN</name>
        <initializer>5</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="47" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="47" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_1d27227e8d87b844648f07d66da38bb3f" prot="public" static="no">
        <name>F_SETFD</name>
        <initializer>2</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="44" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="44" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_1f2939853c650561d3495ed40f68f6249" prot="public" static="no">
        <name>F_SETFL</name>
        <initializer>4</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="46" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="46" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_168a7fc570f2fc271acc5358a6418504e" prot="public" static="no">
        <name>F_SETLK</name>
        <initializer>8</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="50" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="50" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_1abb866cd0cf7ed3544dfc335e0e360fd" prot="public" static="no">
        <name>F_SETLKW</name>
        <initializer>9</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="51" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="51" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_110e6ca002b56361c5adb1e66a8a4917d" prot="public" static="no">
        <name>F_SETOWN</name>
        <initializer>6</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="48" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="48" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_1a336842f710119bfdab086f34efac63c" prot="public" static="no">
        <name>FAPPEND</name>
        <initializer>O_APPEND</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="78" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="78" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_11c28a43c30721462ad7e40f37051c9ca" prot="public" static="no">
        <name>FASYNC</name>
        <initializer>O_ASYNC</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="79" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="79" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_1e145197023ee3530510eaa80446eef77" prot="public" static="no">
        <name>FCNTLFLAGS</name>
        <initializer>(FAPPEND|FASYNC|FFSYNC|FNONBLOCK|FPOSIXSHM|O_DIRECT)</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="88" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="88" bodyend="-1"/>
        <referencedby refid="kern__descrip_8c_14c1102e9a5b5c2be0c5e16d9b974a1a3" compoundref="kern__descrip_8c" startline="39" endline="65">fcntl</referencedby>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_13c28c97a69c6ce8f87cac54a7c91f9db" prot="public" static="no">
        <name>FFLAGS</name>
        <param><defname>oflags</defname></param>
        <initializer>((oflags) + 1)</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="90" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="90" bodyend="-1"/>
        <referencedby refid="kern__descrip_8c_14c1102e9a5b5c2be0c5e16d9b974a1a3" compoundref="kern__descrip_8c" startline="39" endline="65">fcntl</referencedby>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_1ee6e522943bfde38729955245588808c" prot="public" static="no">
        <name>FFSYNC</name>
        <initializer>O_FSYNC</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="80" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="80" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_15e502663ed8d9bf975848f5464c3f516" prot="public" static="no">
        <name>FHASLOCK</name>
        <initializer>0x4000</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="74" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="74" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_171a490d1088a9c5f120f3a59e2a4599f" prot="public" static="no">
        <name>FNDELAY</name>
        <initializer>O_NONBLOCK</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="82" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="82" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_1a7660d77d1097779b6b790cb4d89f56c" prot="public" static="no">
        <name>FNONBLOCK</name>
        <initializer>O_NONBLOCK</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="81" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="81" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_1ed6c61cad1ddb572aae570ca0a7cb6f8" prot="public" static="no">
        <name>FPOSIXSHM</name>
        <initializer>O_NOFOLLOW</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="84" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="84" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_13252b359359dea1efa45bb87c4499acd" prot="public" static="no">
        <name>FREAD</name>
        <initializer>0x0001</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="54" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="54" bodyend="-1"/>
        <referencedby refid="pipe_8c_1cbd82ee803ba9432a295a8e2a0a3f249" compoundref="pipe_8c" startline="41" endline="51">pipe</referencedby>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_1171aed9ee8e3ec0a65cedfb9a2626499" prot="public" static="no">
        <name>FWRITE</name>
        <initializer>0x0002</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="55" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="55" bodyend="-1"/>
        <referencedby refid="pipe_8c_1cbd82ee803ba9432a295a8e2a0a3f249" compoundref="pipe_8c" startline="41" endline="51">pipe</referencedby>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_14dc4d45e07d2abc899bcaf04b2846a87" prot="public" static="no">
        <name>O_ACCMODE</name>
        <initializer>0x0003</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="71" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="71" bodyend="-1"/>
        <referencedby refid="kern__descrip_8c_14c1102e9a5b5c2be0c5e16d9b974a1a3" compoundref="kern__descrip_8c" startline="39" endline="65">fcntl</referencedby>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_1e036f789407d21f07b211552d67b3214" prot="public" static="no">
        <name>O_APPEND</name>
        <initializer>0x0008</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="57" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="57" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_1c5d0c9848f853f8b026b1211b93f78b1" prot="public" static="no">
        <name>O_ASYNC</name>
        <initializer>0x0040</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="60" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="60" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_11cf6b1de1fffedaa1d26b189e9a8d2cc" prot="public" static="no">
        <name>O_CREAT</name>
        <initializer>0x0200</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="64" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="64" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_1d28ccbf6f0a42c91c160ac5ada0c8429" prot="public" static="no">
        <name>O_DIRECT</name>
        <initializer>0x00010000</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="67" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="67" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_19f5acfe79fafe14b6694447bd0e9f10b" prot="public" static="no">
        <name>O_EXCL</name>
        <initializer>0x0800</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="66" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="66" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_1d041d863b473edbd26926d2fad250384" prot="public" static="no">
        <name>O_EXLOCK</name>
        <initializer>0x0020</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="59" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="59" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_1c683f821c3bf7ce4752ff436733cd715" prot="public" static="no">
        <name>O_FSYNC</name>
        <initializer>0x0080</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="61" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="61" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_163ba256ec18f373817941d5a4d0e2d5e" prot="public" static="no">
        <name>O_NDELAY</name>
        <initializer>O_NONBLOCK</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="83" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="83" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_182d4d551b214905742c9e045185d352a" prot="public" static="no">
        <name>O_NOFOLLOW</name>
        <initializer>0x0100</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="63" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="63" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_139d33ce33804efd4d52606d59071c6d8" prot="public" static="no">
        <name>O_NONBLOCK</name>
        <initializer>0x0004</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="56" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="56" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_17a68c9ffaac7dbcd652225dd7c06a54b" prot="public" static="no">
        <name>O_RDONLY</name>
        <initializer>0x0000</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="68" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="68" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_1bb0586253488ee61072b73557eeb873b" prot="public" static="no">
        <name>O_RDWR</name>
        <initializer>0x0002</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="70" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="70" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_18234597f4e8a183770c5f5d94ba8562a" prot="public" static="no">
        <name>O_SHLOCK</name>
        <initializer>0x0010</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="58" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="58" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_1ae85139bfa94236d126bb1e3b772998f" prot="public" static="no">
        <name>O_SYNC</name>
        <initializer>0x0080</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="62" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="62" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_1d1d67e453fb3031f40f8cd3403773813" prot="public" static="no">
        <name>O_TRUNC</name>
        <initializer>0x0400</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="65" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="65" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_111b644a8526139c4cc1850dac1271ced" prot="public" static="no">
        <name>O_WRONLY</name>
        <initializer>0x0001</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="69" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="69" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="kern__descrip_8h_19b5b463dd687798c592fd23584869cc8" prot="public" static="no">
        <name>OFLAGS</name>
        <param><defname>fflags</defname></param>
        <initializer>((fflags) - 1)</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="91" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="91" bodyend="-1"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="typedef">
      <memberdef kind="typedef" id="kern__descrip_8h_1e9f148ba55d84268ecb6f8031ab45076" prot="public" static="no">
        <type><ref refid="__types_8h_1633606f8a0f9a59b300c4947280d816f" kindref="member">__mode_t</ref></type>
        <definition>typedef __mode_t mode_t</definition>
        <argsstring></argsstring>
        <name>mode_t</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="38" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="38" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="kern__descrip_8h_1e6b499a9e117ca8d1d165c847c872cc0" prot="public" static="no">
        <type><ref refid="__types_8h_1c1789b464296a1bd0de1734e17d0a146" kindref="member">__nlink_t</ref></type>
        <definition>typedef __nlink_t nlink_t</definition>
        <argsstring></argsstring>
        <name>nlink_t</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="39" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" bodystart="39" bodyend="-1"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="func">
      <memberdef kind="function" id="kern__descrip_8h_139808045c1781393e845fa51fd2db6e0" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int close</definition>
        <argsstring>(struct thread *, struct close_args *)</argsstring>
        <name>close</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
        </param>
        <param>
          <type>struct <ref refid="structclose__args" kindref="compound">close_args</ref> *</type>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="153" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/kernel/kern_descrip.c" bodystart="90" bodyend="98"/>
      </memberdef>
      <memberdef kind="function" id="kern__descrip_8h_1434fb15226182b0ee879a5afe9a8c190" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int falloc</definition>
        <argsstring>(struct thread *, struct file **, int *)</argsstring>
        <name>falloc</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
        </param>
        <param>
          <type>struct <ref refid="structfile" kindref="compound">file</ref> **</type>
        </param>
        <param>
          <type>int *</type>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="154" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/kernel/kern_descrip.c" bodystart="67" bodyend="88"/>
        <references refid="kmalloc_8h_1150eab2ac4ce4553e21ca10e7f441762" compoundref="kmalloc_8c" startline="247" endline="339">kmalloc</references>
        <references refid="kprint_8h_1b2761bdf0cca73ad0fb5880895210cd8" compoundref="kprintf_8c" startline="38" endline="49">kprintf</references>
        <references refid="structthread_1b95afb0c8c9a817ce1638be443cb5b12" compoundref="thread_8h" startline="39">thread::o_files</references>
        <referencedby refid="pipe_8c_1cbd82ee803ba9432a295a8e2a0a3f249" compoundref="pipe_8c" startline="41" endline="51">pipe</referencedby>
        <referencedby refid="vfs_8c_13ca4e48103cbadae2952d277d03687be" compoundref="vfs_8c" startline="148" endline="166">sys_open</referencedby>
      </memberdef>
      <memberdef kind="function" id="kern__descrip_8h_1791e8d3090dc6573a9faa0a64ec696d3" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int fcntl</definition>
        <argsstring>(struct thread *, struct fcntl_args *)</argsstring>
        <name>fcntl</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
        </param>
        <param>
          <type>struct <ref refid="structfcntl__args" kindref="compound">fcntl_args</ref> *</type>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="152" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/kernel/kern_descrip.c" bodystart="39" bodyend="65"/>
      </memberdef>
      <memberdef kind="function" id="kern__descrip_8h_18216f802387d3e6eded7f31568d741ff" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int fstat</definition>
        <argsstring>(struct thread *, struct fstat_args *)</argsstring>
        <name>fstat</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
        </param>
        <param>
          <type>struct <ref refid="structfstat__args" kindref="compound">fstat_args</ref> *</type>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="156" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/kernel/kern_descrip.c" bodystart="112" bodyend="124"/>
      </memberdef>
      <memberdef kind="function" id="kern__descrip_8h_1ec82fd17dad5642277af6dc43f9893c5" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int getdtablesize</definition>
        <argsstring>(struct thread *, struct getdtablesize_args *)</argsstring>
        <name>getdtablesize</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
        </param>
        <param>
          <type>struct <ref refid="structgetdtablesize__args" kindref="compound">getdtablesize_args</ref> *</type>
        </param>
        <briefdescription>
<para>return data table size </para>        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="155" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/kernel/kern_descrip.c" bodystart="103" bodyend="109"/>
      </memberdef>
      <memberdef kind="function" id="kern__descrip_8h_114e228d6e5391a882d3b20ff2466b2ac" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int getfd</definition>
        <argsstring>(struct thread *td, struct file **fp, int fd)</argsstring>
        <name>getfd</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <declname>td</declname>
        </param>
        <param>
          <type>struct <ref refid="structfile" kindref="compound">file</ref> **</type>
          <declname>fp</declname>
        </param>
        <param>
          <type>int</type>
          <declname>fd</declname>
        </param>
        <briefdescription>
<para>get pointer to file fd in specified thread </para>        </briefdescription>
        <detaileddescription>
<para><simplesect kind="return"><para>returns fp </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="158" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/kernel/kern_descrip.c" bodystart="141" bodyend="154"/>
        <references refid="kprint_8h_1b2761bdf0cca73ad0fb5880895210cd8" compoundref="kprintf_8c" startline="38" endline="49">kprintf</references>
        <references refid="structthread_1b95afb0c8c9a817ce1638be443cb5b12" compoundref="thread_8h" startline="39">thread::o_files</references>
        <referencedby refid="gen__calls_8c_15eff3a25d417fafce7c4f211db219ca2" compoundref="gen__calls_8c" startline="125" endline="144">read</referencedby>
      </memberdef>
      <memberdef kind="function" id="kern__descrip_8h_1dd9e21938f9a168f9be49ddbfe03fed1" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int ioctl</definition>
        <argsstring>(struct thread *, struct ioctl_args *)</argsstring>
        <name>ioctl</name>
        <param>
          <type>struct <ref refid="structthread" kindref="compound">thread</ref> *</type>
          <defname>td</defname>
        </param>
        <param>
          <type>struct <ref refid="structioctl__args" kindref="compound">ioctl_args</ref> *</type>
          <defname>uap</defname>
        </param>
        <briefdescription>
<para>ioctl functionality not implimented yet </para>        </briefdescription>
        <detaileddescription>
<para><simplesect kind="return"><para>NULL for now </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h" line="157" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/kernel/kern_descrip.c" bodystart="131" bodyend="134"/>
      </memberdef>
      </sectiondef>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <programlisting>
<codeline lineno="1"><highlight class="comment">/*****************************************************************************************</highlight></codeline>
<codeline lineno="2"><highlight class="comment"><sp/>Copyright<sp/>(c)<sp/>2002-2004<sp/>The<sp/>UbixOS<sp/>Project</highlight></codeline>
<codeline lineno="3"><highlight class="comment"><sp/>All<sp/>rights<sp/>reserved.</highlight></codeline>
<codeline lineno="4"><highlight class="comment"></highlight></codeline>
<codeline lineno="5"><highlight class="comment"><sp/>Redistribution<sp/>and<sp/>use<sp/>in<sp/>source<sp/>and<sp/>binary<sp/>forms,<sp/>with<sp/>or<sp/>without<sp/>modification,<sp/>are</highlight></codeline>
<codeline lineno="6"><highlight class="comment"><sp/>permitted<sp/>provided<sp/>that<sp/>the<sp/>following<sp/>conditions<sp/>are<sp/>met:</highlight></codeline>
<codeline lineno="7"><highlight class="comment"></highlight></codeline>
<codeline lineno="8"><highlight class="comment"><sp/>Redistributions<sp/>of<sp/>source<sp/>code<sp/>must<sp/>retain<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of</highlight></codeline>
<codeline lineno="9"><highlight class="comment"><sp/>conditions,<sp/>the<sp/>following<sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors.<sp/><sp/>Redistributions<sp/>in<sp/>binary</highlight></codeline>
<codeline lineno="10"><highlight class="comment"><sp/>form<sp/>must<sp/>reproduce<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of<sp/>conditions,<sp/>the<sp/>following</highlight></codeline>
<codeline lineno="11"><highlight class="comment"><sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors<sp/>in<sp/>the<sp/>documentation<sp/>and/or<sp/>other<sp/>materials<sp/>provided</highlight></codeline>
<codeline lineno="12"><highlight class="comment"><sp/>with<sp/>the<sp/>distribution.<sp/>Neither<sp/>the<sp/>name<sp/>of<sp/>the<sp/>UbixOS<sp/>Project<sp/>nor<sp/>the<sp/>names<sp/>of<sp/>its</highlight></codeline>
<codeline lineno="13"><highlight class="comment"><sp/>contributors<sp/>may<sp/>be<sp/>used<sp/>to<sp/>endorse<sp/>or<sp/>promote<sp/>products<sp/>derived<sp/>from<sp/>this<sp/>software</highlight></codeline>
<codeline lineno="14"><highlight class="comment"><sp/>without<sp/>specific<sp/>prior<sp/>written<sp/>permission.</highlight></codeline>
<codeline lineno="15"><highlight class="comment"></highlight></codeline>
<codeline lineno="16"><highlight class="comment"><sp/>THIS<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>BY<sp/>THE<sp/>COPYRIGHT<sp/>HOLDERS<sp/>AND<sp/>CONTRIBUTORS<sp/>&quot;AS<sp/>IS&quot;<sp/>AND<sp/>ANY</highlight></codeline>
<codeline lineno="17"><highlight class="comment"><sp/>EXPRESS<sp/>OR<sp/>IMPLIED<sp/>WARRANTIES,<sp/>INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>THE<sp/>IMPLIED<sp/>WARRANTIES<sp/>OF</highlight></codeline>
<codeline lineno="18"><highlight class="comment"><sp/>MERCHANTABILITY<sp/>AND<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>ARE<sp/>DISCLAIMED.<sp/>IN<sp/>NO<sp/>EVENT<sp/>SHALL</highlight></codeline>
<codeline lineno="19"><highlight class="comment"><sp/>THE<sp/>COPYRIGHT<sp/>OWNER<sp/>OR<sp/>CONTRIBUTORS<sp/>BE<sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>DIRECT,<sp/>INDIRECT,<sp/>INCIDENTAL,</highlight></codeline>
<codeline lineno="20"><highlight class="comment"><sp/>SPECIAL,<sp/>EXEMPLARY,<sp/>OR<sp/>CONSEQUENTIAL<sp/>DAMAGES<sp/>(INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>PROCUREMENT</highlight></codeline>
<codeline lineno="21"><highlight class="comment"><sp/>OF<sp/>SUBSTITUTE<sp/>GOODS<sp/>OR<sp/>SERVICES;<sp/>LOSS<sp/>OF<sp/>USE,<sp/>DATA,<sp/>OR<sp/>PROFITS;<sp/>OR<sp/>BUSINESS<sp/>INTERRUPTION)</highlight></codeline>
<codeline lineno="22"><highlight class="comment"><sp/>HOWEVER<sp/>CAUSED<sp/>AND<sp/>ON<sp/>ANY<sp/>THEORY<sp/>OF<sp/>LIABILITY,<sp/>WHETHER<sp/>IN<sp/>CONTRACT,<sp/>STRICT<sp/>LIABILITY,<sp/>OR</highlight></codeline>
<codeline lineno="23"><highlight class="comment"><sp/>TORT<sp/>(INCLUDING<sp/>NEGLIGENCE<sp/>OR<sp/>OTHERWISE)<sp/>ARISING<sp/>IN<sp/>ANY<sp/>WAY<sp/>OUT<sp/>OF<sp/>THE<sp/>USE<sp/>OF<sp/>THIS</highlight></codeline>
<codeline lineno="24"><highlight class="comment"><sp/>SOFTWARE,<sp/>EVEN<sp/>IF<sp/>ADVISED<sp/>OF<sp/>THE<sp/>POSSIBILITY<sp/>OF<sp/>SUCH<sp/>DAMAGE.</highlight></codeline>
<codeline lineno="25"><highlight class="comment"></highlight></codeline>
<codeline lineno="26"><highlight class="comment"><sp/>$Id: kern__descrip_8h.xml 88 2016-01-12 00:11:29Z reddawg $</highlight></codeline>
<codeline lineno="27"><highlight class="comment"></highlight></codeline>
<codeline lineno="28"><highlight class="comment">*****************************************************************************************/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="29"><highlight class="normal"></highlight></codeline>
<codeline lineno="30"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>_KERN_DESCRIP_H</highlight></codeline>
<codeline lineno="31"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>_KERN_DESCRIP_H</highlight></codeline>
<codeline lineno="32"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="33"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="thread_8h" kindref="compound">sys/thread.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="34"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="sysproto_8h" kindref="compound">sys/sysproto.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="35"><highlight class="normal"></highlight></codeline>
<codeline lineno="36"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="file_8h" kindref="compound">vfs/file.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="37"><highlight class="normal"></highlight></codeline>
<codeline lineno="38" refid="kern__descrip_8h_1e9f148ba55d84268ecb6f8031ab45076" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/><sp/><ref refid="__types_8h_1633606f8a0f9a59b300c4947280d816f" kindref="member">__mode_t</ref><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="kern__descrip_8h_1e9f148ba55d84268ecb6f8031ab45076" kindref="member">mode_t</ref>;</highlight></codeline>
<codeline lineno="39" refid="kern__descrip_8h_1e6b499a9e117ca8d1d165c847c872cc0" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/><sp/><ref refid="__types_8h_1c1789b464296a1bd0de1734e17d0a146" kindref="member">__nlink_t</ref><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="kern__descrip_8h_1e6b499a9e117ca8d1d165c847c872cc0" kindref="member">nlink_t</ref>;</highlight></codeline>
<codeline lineno="40"><highlight class="normal"></highlight></codeline>
<codeline lineno="41"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>command<sp/>values<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="42" refid="kern__descrip_8h_1b93a8621587aba90181efd7d3aeea67e" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>F_DUPFD<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>duplicate<sp/>file<sp/>descriptor<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="43" refid="kern__descrip_8h_1bc11141031604fb22b8e3a201155cbb3" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>F_GETFD<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>1<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>get<sp/>file<sp/>descriptor<sp/>flags<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="44" refid="kern__descrip_8h_1d27227e8d87b844648f07d66da38bb3f" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>F_SETFD<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>2<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>set<sp/>file<sp/>descriptor<sp/>flags<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="45" refid="kern__descrip_8h_1025fad21a889c79f02ec53abe3526c32" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>F_GETFL<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>3<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>get<sp/>file<sp/>status<sp/>flags<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="46" refid="kern__descrip_8h_1f2939853c650561d3495ed40f68f6249" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>F_SETFL<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>4<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>set<sp/>file<sp/>status<sp/>flags<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="47" refid="kern__descrip_8h_1a76959dcf54457a81c4cdf7789ba73e4" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>F_GETOWN<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>5<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>get<sp/>SIGIO/SIGURG<sp/>proc/pgrp<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="48" refid="kern__descrip_8h_110e6ca002b56361c5adb1e66a8a4917d" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>F_SETOWN<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>6<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>set<sp/>SIGIO/SIGURG<sp/>proc/pgrp<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="49" refid="kern__descrip_8h_12c3005e07f9aedb5d77856d13c3e40c4" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>F_GETLK<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>7<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>get<sp/>record<sp/>locking<sp/>information<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="50" refid="kern__descrip_8h_168a7fc570f2fc271acc5358a6418504e" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>F_SETLK<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>8<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>set<sp/>record<sp/>locking<sp/>information<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="51" refid="kern__descrip_8h_1abb866cd0cf7ed3544dfc335e0e360fd" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>F_SETLKW<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>9<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>F_SETLK;<sp/>wait<sp/>if<sp/>blocked<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="52"><highlight class="normal"></highlight></codeline>
<codeline lineno="53"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>Flag<sp/>Values<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="54" refid="kern__descrip_8h_13252b359359dea1efa45bb87c4499acd" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>FREAD<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x0001</highlight></codeline>
<codeline lineno="55" refid="kern__descrip_8h_1171aed9ee8e3ec0a65cedfb9a2626499" refkind="member"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>FWRITE<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x0002</highlight></codeline>
<codeline lineno="56" refid="kern__descrip_8h_139d33ce33804efd4d52606d59071c6d8" refkind="member"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>O_NONBLOCK<sp/><sp/><sp/><sp/><sp/><sp/>0x0004<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>no<sp/>delay<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="57" refid="kern__descrip_8h_1e036f789407d21f07b211552d67b3214" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>O_APPEND<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x0008<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>set<sp/>append<sp/>mode<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="58" refid="kern__descrip_8h_18234597f4e8a183770c5f5d94ba8562a" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>O_SHLOCK<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x0010<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>open<sp/>with<sp/>shared<sp/>file<sp/>lock<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="59" refid="kern__descrip_8h_1d041d863b473edbd26926d2fad250384" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>O_EXLOCK<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x0020<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>open<sp/>with<sp/>exclusive<sp/>file<sp/>lock<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="60" refid="kern__descrip_8h_1c5d0c9848f853f8b026b1211b93f78b1" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>O_ASYNC<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x0040<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>signal<sp/>pgrp<sp/>when<sp/>data<sp/>ready<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="61" refid="kern__descrip_8h_1c683f821c3bf7ce4752ff436733cd715" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>O_FSYNC<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x0080<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>synchronous<sp/>writes<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="62" refid="kern__descrip_8h_1ae85139bfa94236d126bb1e3b772998f" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>O_SYNC<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x0080<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>POSIX<sp/>synonym<sp/>for<sp/>O_FSYNC<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="63" refid="kern__descrip_8h_182d4d551b214905742c9e045185d352a" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>O_NOFOLLOW<sp/><sp/><sp/><sp/><sp/><sp/>0x0100<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>don&apos;t<sp/>follow<sp/>symlinks<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="64" refid="kern__descrip_8h_11cf6b1de1fffedaa1d26b189e9a8d2cc" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>O_CREAT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x0200<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>create<sp/>if<sp/>nonexistent<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="65" refid="kern__descrip_8h_1d1d67e453fb3031f40f8cd3403773813" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>O_TRUNC<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x0400<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>truncate<sp/>to<sp/>zero<sp/>length<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="66" refid="kern__descrip_8h_19f5acfe79fafe14b6694447bd0e9f10b" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>O_EXCL<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x0800<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>error<sp/>if<sp/>already<sp/>exists<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="67" refid="kern__descrip_8h_1d28ccbf6f0a42c91c160ac5ada0c8429" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>O_DIRECT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x00010000</highlight></codeline>
<codeline lineno="68" refid="kern__descrip_8h_17a68c9ffaac7dbcd652225dd7c06a54b" refkind="member"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>O_RDONLY<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x0000<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>open<sp/>for<sp/>reading<sp/>only<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="69" refid="kern__descrip_8h_111b644a8526139c4cc1850dac1271ced" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>O_WRONLY<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x0001<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>open<sp/>for<sp/>writing<sp/>only<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="70" refid="kern__descrip_8h_1bb0586253488ee61072b73557eeb873b" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>O_RDWR<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x0002<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>open<sp/>for<sp/>reading<sp/>and<sp/>writing<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="71" refid="kern__descrip_8h_14dc4d45e07d2abc899bcaf04b2846a87" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>O_ACCMODE<sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x0003<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>mask<sp/>for<sp/>above<sp/>modes<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="72"><highlight class="normal"></highlight></codeline>
<codeline lineno="73"><highlight class="normal"></highlight></codeline>
<codeline lineno="74" refid="kern__descrip_8h_15e502663ed8d9bf975848f5464c3f516" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>FHASLOCK<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x4000<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>descriptor<sp/>holds<sp/>advisory<sp/>lock<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="75"><highlight class="normal"></highlight></codeline>
<codeline lineno="76"><highlight class="normal"></highlight></codeline>
<codeline lineno="77"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>F<sp/>MAPPERS<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="78" refid="kern__descrip_8h_1a336842f710119bfdab086f34efac63c" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>FAPPEND<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>O_APPEND<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>kernel/compat<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="79" refid="kern__descrip_8h_11c28a43c30721462ad7e40f37051c9ca" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>FASYNC<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>O_ASYNC<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>kernel/compat<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="80" refid="kern__descrip_8h_1ee6e522943bfde38729955245588808c" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>FFSYNC<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>O_FSYNC<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>kernel<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="81" refid="kern__descrip_8h_1a7660d77d1097779b6b790cb4d89f56c" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>FNONBLOCK<sp/><sp/><sp/><sp/><sp/><sp/><sp/>O_NONBLOCK<sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>kernel<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="82" refid="kern__descrip_8h_171a490d1088a9c5f120f3a59e2a4599f" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>FNDELAY<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>O_NONBLOCK<sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>compat<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="83" refid="kern__descrip_8h_163ba256ec18f373817941d5a4d0e2d5e" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>O_NDELAY<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>O_NONBLOCK<sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>compat<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="84" refid="kern__descrip_8h_1ed6c61cad1ddb572aae570ca0a7cb6f8" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>FPOSIXSHM<sp/><sp/><sp/><sp/><sp/><sp/><sp/>O_NOFOLLOW</highlight></codeline>
<codeline lineno="85"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="86"><highlight class="normal"></highlight></codeline>
<codeline lineno="87"><highlight class="normal"></highlight></codeline>
<codeline lineno="88" refid="kern__descrip_8h_1e145197023ee3530510eaa80446eef77" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>FCNTLFLAGS<sp/><sp/><sp/><sp/><sp/><sp/>(FAPPEND|FASYNC|FFSYNC|FNONBLOCK|FPOSIXSHM|O_DIRECT)</highlight></codeline>
<codeline lineno="89"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="90" refid="kern__descrip_8h_13c28c97a69c6ce8f87cac54a7c91f9db" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>FFLAGS(oflags)<sp/><sp/>((oflags)<sp/>+<sp/>1)</highlight></codeline>
<codeline lineno="91" refid="kern__descrip_8h_19b5b463dd687798c592fd23584869cc8" refkind="member"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>OFLAGS(fflags)<sp/><sp/>((fflags)<sp/>-<sp/>1)</highlight></codeline>
<codeline lineno="92"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="93" refid="structfile" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structfile" kindref="compound">file</ref><sp/>{</highlight></codeline>
<codeline lineno="94" refid="structfile_1314e5cc77afefbebb7f5e7d197b089ab" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="structfile_1314e5cc77afefbebb7f5e7d197b089ab" kindref="member">f_flag</ref>;</highlight></codeline>
<codeline lineno="95" refid="structfile_148952da96dfce82445b051d594d7bbf6" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><ref refid="structfile_148952da96dfce82445b051d594d7bbf6" kindref="member">path</ref>[1024];</highlight></codeline>
<codeline lineno="96" refid="structfile_15a1b356e191a81d71a02560074aacd2a" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="structfileDescriptorStruct" kindref="compound">fileDescriptor</ref><sp/>*<ref refid="structfile_15a1b356e191a81d71a02560074aacd2a" kindref="member">fd</ref>;</highlight></codeline>
<codeline lineno="97"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
<codeline lineno="98"><highlight class="normal"></highlight></codeline>
<codeline lineno="99"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>TEMP<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="100" refid="struct____timespec" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="struct____timespec" kindref="compound">__timespec</ref><sp/>{</highlight></codeline>
<codeline lineno="101" refid="struct____timespec_16a0ca86f02964fe2543f06311b0ba5fd" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="__types_8h_1c9fb8d211b39b07df423f5c3238c5f5d" kindref="member">__time_t</ref><sp/><ref refid="struct____timespec_16a0ca86f02964fe2543f06311b0ba5fd" kindref="member">tv_sec</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>seconds<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="102" refid="struct____timespec_122ce93092f3583d4b7045e8bafb84994" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="struct____timespec_122ce93092f3583d4b7045e8bafb84994" kindref="member">tv_nsec</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>and<sp/>nanoseconds<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="103"><highlight class="normal">};</highlight></codeline>
<codeline lineno="104"><highlight class="normal"></highlight></codeline>
<codeline lineno="105" refid="structstat" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structstat" kindref="compound">stat</ref><sp/>{</highlight></codeline>
<codeline lineno="106" refid="structstat_1fb143a1534bf763afd6b353ea3cad102" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="__types_8h_145c90547fafad0ff956b06bb5245cdcf" kindref="member">__dev_t</ref><sp/><sp/><sp/><ref refid="structstat_1fb143a1534bf763afd6b353ea3cad102" kindref="member">st_dev</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>inode&apos;s<sp/>device<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="107" refid="structstat_19769ed8f0d4c5a9f329c32bc92479d56" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="types_8h_173341b7381d39d6e5b80ff9f23379dbd" kindref="member">ino_t</ref><sp/><sp/><sp/><sp/><sp/><ref refid="structstat_19769ed8f0d4c5a9f329c32bc92479d56" kindref="member">st_ino</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>inode&apos;s<sp/>number<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="108" refid="structstat_15cbdd829011af82ba61e83773bbcbc7d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="kern__descrip_8h_1e9f148ba55d84268ecb6f8031ab45076" kindref="member">mode_t</ref><sp/><sp/><sp/><sp/><ref refid="structstat_15cbdd829011af82ba61e83773bbcbc7d" kindref="member">st_mode</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>inode<sp/>protection<sp/>mode<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="109" refid="structstat_10ed9092fa6c77a3251b9b9a4738ef84f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="kern__descrip_8h_1e6b499a9e117ca8d1d165c847c872cc0" kindref="member">nlink_t</ref><sp/><sp/><sp/><ref refid="structstat_10ed9092fa6c77a3251b9b9a4738ef84f" kindref="member">st_nlink</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>number<sp/>of<sp/>hard<sp/>links<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="110" refid="structstat_14a8708a3d18be60ee7b2f06c4cab0c70" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="types_8h_11844226d778badcda0a21b28310830ea" kindref="member">uid_t</ref><sp/><sp/><sp/><sp/><sp/><ref refid="structstat_14a8708a3d18be60ee7b2f06c4cab0c70" kindref="member">st_uid</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>user<sp/>ID<sp/>of<sp/>the<sp/>file&apos;s<sp/>owner<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="111" refid="structstat_1b864f16f436cec370f0ced585d897698" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="types_8h_19520fe38856d436aa8c5850ff21839ec" kindref="member">gid_t</ref><sp/><sp/><sp/><sp/><sp/><ref refid="structstat_1b864f16f436cec370f0ced585d897698" kindref="member">st_gid</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>group<sp/>ID<sp/>of<sp/>the<sp/>file&apos;s<sp/>group<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="112" refid="structstat_119878d2506fccbada6f99ff8351e54fc" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="__types_8h_145c90547fafad0ff956b06bb5245cdcf" kindref="member">__dev_t</ref><sp/><sp/><sp/><ref refid="structstat_119878d2506fccbada6f99ff8351e54fc" kindref="member">st_rdev</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>device<sp/>type<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="113"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>__BSD_VISIBLE</highlight></codeline>
<codeline lineno="114"><highlight class="preprocessor"></highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/><sp/></highlight><highlight class="normal"><ref refid="structtimespec" kindref="compound">timespec</ref><sp/>st_atimespec;<sp/><sp/></highlight><highlight class="comment">/*<sp/>time<sp/>of<sp/>last<sp/>access<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="115"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/><sp/></highlight><highlight class="normal"><ref refid="structtimespec" kindref="compound">timespec</ref><sp/>st_mtimespec;<sp/><sp/></highlight><highlight class="comment">/*<sp/>time<sp/>of<sp/>last<sp/>data<sp/>modification<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="116"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/><sp/></highlight><highlight class="normal"><ref refid="structtimespec" kindref="compound">timespec</ref><sp/>st_ctimespec;<sp/><sp/></highlight><highlight class="comment">/*<sp/>time<sp/>of<sp/>last<sp/>file<sp/>status<sp/>change<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="117"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight></codeline>
<codeline lineno="118" refid="structstat_1b74d1e7e345e88b9d0fb2688a97cba64" refkind="member"><highlight class="preprocessor"></highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="time_8h_1c8234dac99fc3a2dcc8b7998afd40d49" kindref="member">time_t</ref><sp/><sp/><sp/><sp/><ref refid="structstat_1b74d1e7e345e88b9d0fb2688a97cba64" kindref="member">st_atime</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>time<sp/>of<sp/>last<sp/>access<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="119" refid="structstat_18e7af7908cc5409963de8c2af581070c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="structstat_18e7af7908cc5409963de8c2af581070c" kindref="member">__st_atimensec</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>nsec<sp/>of<sp/>last<sp/>access<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="120" refid="structstat_177e235090f8cb6897f1c0ce65689006b" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="time_8h_1c8234dac99fc3a2dcc8b7998afd40d49" kindref="member">time_t</ref><sp/><sp/><sp/><sp/><ref refid="structstat_177e235090f8cb6897f1c0ce65689006b" kindref="member">st_mtime</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>time<sp/>of<sp/>last<sp/>data<sp/>modification<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="121" refid="structstat_1d35fc3a664184cdc617b114cd25f5f67" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="structstat_1d35fc3a664184cdc617b114cd25f5f67" kindref="member">__st_mtimensec</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>nsec<sp/>of<sp/>last<sp/>data<sp/>modification<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="122" refid="structstat_11b4b858db1ebe79c3d6e0fc1ef721024" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="time_8h_1c8234dac99fc3a2dcc8b7998afd40d49" kindref="member">time_t</ref><sp/><sp/><sp/><sp/><ref refid="structstat_11b4b858db1ebe79c3d6e0fc1ef721024" kindref="member">st_ctime</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>time<sp/>of<sp/>last<sp/>file<sp/>status<sp/>change<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="123" refid="structstat_168a4709b4a992cd2e1dfdfb630bfe6cb" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="structstat_168a4709b4a992cd2e1dfdfb630bfe6cb" kindref="member">__st_ctimensec</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>nsec<sp/>of<sp/>last<sp/>file<sp/>status<sp/>change<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="124"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight></codeline>
<codeline lineno="125" refid="structstat_1040e19c8b9766f841fde8786ce9297bf" refkind="member"><highlight class="preprocessor"></highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="types_8h_1fa178be408981cc5edd64227b6332fc6" kindref="member">off_t</ref><sp/><sp/><sp/><sp/><sp/><ref refid="structstat_1040e19c8b9766f841fde8786ce9297bf" kindref="member">st_size</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>file<sp/>size,<sp/>in<sp/>bytes<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="126" refid="structstat_142dd716b2f9234f961d949fc9500eefb" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="types_8h_17da4753cd6945c5ad91f41c00b474b3f" kindref="member">blkcnt_t</ref><sp/><ref refid="structstat_142dd716b2f9234f961d949fc9500eefb" kindref="member">st_blocks</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>blocks<sp/>allocated<sp/>for<sp/>file<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="127" refid="structstat_138d474e1ae3cf6fbdde89ac3c3e308f1" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="types_8h_1cac8eacbbc225743e88f8e5e8bf93581" kindref="member">blksize_t</ref><sp/><ref refid="structstat_138d474e1ae3cf6fbdde89ac3c3e308f1" kindref="member">st_blksize</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>optimal<sp/>blocksize<sp/>for<sp/>I/O<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="128" refid="structstat_134bffc74ecab7594299064e953e5b20b" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="types_8h_1ee689fd681d6f52c910a90af380155af" kindref="member">fflags_t</ref><sp/><sp/><ref refid="structstat_134bffc74ecab7594299064e953e5b20b" kindref="member">st_flags</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>user<sp/>defined<sp/>flags<sp/>for<sp/>file<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="129" refid="structstat_196a89f0335e054637efa0eb7487e0682" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="__types_8h_1caa96aed3d7fddac490800f166c2af02" kindref="member">__uint32_t</ref><sp/><ref refid="structstat_196a89f0335e054637efa0eb7487e0682" kindref="member">st_gen</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>file<sp/>generation<sp/>number<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="130" refid="structstat_11823e5f33a019b1bdeb7a000d0d202fd" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="__types_8h_1479ed1d22a5d4badec9d1fa7246d05bf" kindref="member">__int32_t</ref><sp/><ref refid="structstat_11823e5f33a019b1bdeb7a000d0d202fd" kindref="member">st_lspare</ref>;</highlight></codeline>
<codeline lineno="131"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>__BSD_VISIBLE</highlight></codeline>
<codeline lineno="132"><highlight class="preprocessor"></highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structtimespec" kindref="compound">timespec</ref><sp/>st_birthtimespec;<sp/></highlight><highlight class="comment">/*<sp/>time<sp/>of<sp/>file<sp/>creation<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="133"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline>
<codeline lineno="134"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>*<sp/>Explicitly<sp/>pad<sp/>st_birthtimespec<sp/>to<sp/>16<sp/>bytes<sp/>so<sp/>that<sp/>the<sp/>size<sp/>of</highlight></codeline>
<codeline lineno="135"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>*<sp/>struct<sp/>stat<sp/>is<sp/>backwards<sp/>compatible.<sp/><sp/>We<sp/>use<sp/>bitfields<sp/>instead</highlight></codeline>
<codeline lineno="136"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>*<sp/>of<sp/>an<sp/>array<sp/>of<sp/>chars<sp/>so<sp/>that<sp/>this<sp/>doesn&apos;t<sp/>require<sp/>a<sp/>C99<sp/>compiler</highlight></codeline>
<codeline lineno="137"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>*<sp/>to<sp/>compile<sp/>if<sp/>the<sp/>size<sp/>of<sp/>the<sp/>padding<sp/>is<sp/>0.<sp/><sp/>We<sp/>use<sp/>2<sp/>bitfields</highlight></codeline>
<codeline lineno="138"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>*<sp/>to<sp/>cover<sp/>up<sp/>to<sp/>64<sp/>bits<sp/>on<sp/>32-bit<sp/>machines.<sp/><sp/>We<sp/>assume<sp/>that</highlight></codeline>
<codeline lineno="139"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>*<sp/>CHAR_BIT<sp/>is<sp/>8...</highlight></codeline>
<codeline lineno="140"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="141"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>:(8<sp/>/<sp/>2)<sp/>*<sp/>(16<sp/>-<sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)</highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structtimespec" kindref="compound">timespec</ref>));</highlight></codeline>
<codeline lineno="142"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>:(8<sp/>/<sp/>2)<sp/>*<sp/>(16<sp/>-<sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)</highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/>timespec));</highlight></codeline>
<codeline lineno="143"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight></codeline>
<codeline lineno="144" refid="structstat_1a7c8627ac57ce82bccc0b261d56a25e5" refkind="member"><highlight class="preprocessor"></highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="time_8h_1c8234dac99fc3a2dcc8b7998afd40d49" kindref="member">time_t</ref><sp/><sp/><sp/><sp/><ref refid="structstat_1a7c8627ac57ce82bccc0b261d56a25e5" kindref="member">st_birthtime</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>time<sp/>of<sp/>file<sp/>creation<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="145" refid="structstat_10e919848cf78f7aacb30a7fb13e81acc" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="structstat_10e919848cf78f7aacb30a7fb13e81acc" kindref="member">st_birthtimensec</ref>;<sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>nsec<sp/>of<sp/>file<sp/>creation<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="146" refid="structstat_1eadf0ca7bfa140ac64fa582f7765066b" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>:(8<sp/>/<sp/>2)<sp/>*<sp/>(16<sp/>-<sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)</highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="struct____timespec" kindref="compound">__timespec</ref>));</highlight></codeline>
<codeline lineno="147"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>:(8<sp/>/<sp/>2)<sp/>*<sp/>(16<sp/>-<sp/>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)</highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/>__timespec));</highlight></codeline>
<codeline lineno="148"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight></codeline>
<codeline lineno="149"><highlight class="preprocessor"></highlight><highlight class="normal">};</highlight></codeline>
<codeline lineno="150"><highlight class="normal"></highlight></codeline>
<codeline lineno="151"><highlight class="normal"></highlight></codeline>
<codeline lineno="152"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="kern__descrip_8h_1791e8d3090dc6573a9faa0a64ec696d3" kindref="member">fcntl</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structfcntl__args" kindref="compound">fcntl_args</ref><sp/>*);</highlight></codeline>
<codeline lineno="153"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="kern__descrip_8h_139808045c1781393e845fa51fd2db6e0" kindref="member">close</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*,</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structclose__args" kindref="compound">close_args</ref><sp/>*);</highlight></codeline>
<codeline lineno="154"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="kern__descrip_8h_1434fb15226182b0ee879a5afe9a8c190" kindref="member">falloc</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structfile" kindref="compound">file</ref><sp/>**,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>*);</highlight></codeline>
<codeline lineno="155"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="kern__descrip_8h_1ec82fd17dad5642277af6dc43f9893c5" kindref="member">getdtablesize</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structgetdtablesize__args" kindref="compound">getdtablesize_args</ref><sp/>*);</highlight></codeline>
<codeline lineno="156"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="kern__descrip_8h_18216f802387d3e6eded7f31568d741ff" kindref="member">fstat</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structfstat__args" kindref="compound">fstat_args</ref><sp/>*);</highlight></codeline>
<codeline lineno="157"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="kern__descrip_8h_1dd9e21938f9a168f9be49ddbfe03fed1" kindref="member">ioctl</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*,<sp/></highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structioctl__args" kindref="compound">ioctl_args</ref><sp/>*);</highlight></codeline>
<codeline lineno="158"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="kern__descrip_8h_114e228d6e5391a882d3b20ff2466b2ac" kindref="member">getfd</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structthread" kindref="compound">thread</ref><sp/>*td,</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structfile" kindref="compound">file</ref><sp/>**fp,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>fd);</highlight></codeline>
<codeline lineno="159"><highlight class="normal"></highlight></codeline>
<codeline lineno="160"><highlight class="normal"></highlight></codeline>
<codeline lineno="161"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight></codeline>
<codeline lineno="162"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="163"><highlight class="normal"></highlight><highlight class="comment">/***</highlight></codeline>
<codeline lineno="164"><highlight class="comment"><sp/>END</highlight></codeline>
<codeline lineno="165"><highlight class="comment"><sp/>***/</highlight><highlight class="normal"></highlight></codeline>
    </programlisting>
    <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/kern_descrip.h"/>
  </compounddef>
</doxygen>