mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-29 15:57:56 +00:00
252 lines
31 KiB
HTML
252 lines
31 KiB
HTML
<!-- HTML header for doxygen 1.9.1-->
|
|
<!DOCTYPE html
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9" />
|
|
<meta name="generator" content="Doxygen 1.9.8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>Fennix: Kernel/include/interface/fcntl.h Source File</title>
|
|
<link href="../../tabs.css" rel="stylesheet" type="text/css" />
|
|
<script type="text/javascript" src="../../jquery.js"></script>
|
|
<script type="text/javascript" src="../../dynsections.js"></script>
|
|
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="../../resize.js"></script>
|
|
<script type="text/javascript" src="../../navtreedata.js"></script>
|
|
<script type="text/javascript" src="../../navtree.js"></script>
|
|
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
|
<script type="text/javascript" src="../../search/search.js"></script>
|
|
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
|
<link href="../../doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
|
<link href="../../custom.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="../../doxygen-awesome-darkmode-toggle.js"></script>
|
|
<script type="text/javascript" src="../../doxygen-awesome-fragment-copy-button.js"></script>
|
|
<script type="text/javascript" src="../../doxygen-awesome-paragraph-link.js"></script>
|
|
<script type="text/javascript" src="../../doxygen-awesome-interactive-toc.js"></script>
|
|
<script type="text/javascript" src="../../doxygen-awesome-tabs.js"></script>
|
|
<script type="text/javascript">
|
|
DoxygenAwesomeDarkModeToggle.init()
|
|
DoxygenAwesomeFragmentCopyButton.init()
|
|
DoxygenAwesomeParagraphLink.init()
|
|
DoxygenAwesomeInteractiveToc.init()
|
|
DoxygenAwesomeTabs.init()
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectlogo"><img alt="Logo" src="../../favicon.ico" /></td>
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">Fennix
|
|
 <span
|
|
id="projectnumber">1.0.0</span>
|
|
</div>
|
|
<div id="projectbrief">Full Documentation</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part --><!-- Generated by Doxygen 1.9.8 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="../../menudata.js"></script>
|
|
<script type="text/javascript" src="../../menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('../../',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(document).ready(function() { init_codefold(1); });
|
|
/* @license-end */
|
|
</script>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(document).ready(function(){initNavTree('d7/d9f/fcntl_8h_source.html','../../'); initResizable(); });
|
|
/* @license-end */
|
|
</script>
|
|
<div id="doc-content">
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">fcntl.h</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="../../d7/d9f/fcntl_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/*</span></div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> This file is part of Fennix Kernel.</span></div>
|
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> Fennix Kernel is free software: you can redistribute it and/or</span></div>
|
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> modify it under the terms of the GNU General Public License as</span></div>
|
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> published by the Free Software Foundation, either version 3 of</span></div>
|
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment"> the License, or (at your option) any later version.</span></div>
|
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment"> Fennix Kernel is distributed in the hope that it will be useful,</span></div>
|
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment"> but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
|
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment"> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
|
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment"> GNU General Public License for more details.</span></div>
|
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment"> You should have received a copy of the GNU General Public License</span></div>
|
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment"> along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.</span></div>
|
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment">*/</span></div>
|
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> </div>
|
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#ifndef __FENNIX_API_FCNTL_H__</span></div>
|
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="preprocessor">#define __FENNIX_API_FCNTL_H__</span></div>
|
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div>
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#ifdef __kernel__</span></div>
|
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="preprocessor">#include <types.h></span></div>
|
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
|
|
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="comment">/* cmd */</span></div>
|
|
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#ab93a8621587aba90181efd7d3aeea67e"> 26</a></span><span class="preprocessor">#define F_DUPFD 0x1</span></div>
|
|
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#af532232f0b65dc6296aedd2b60de7285"> 27</a></span><span class="preprocessor">#define F_DUPFD_CLOEXEC 0x101</span></div>
|
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a6ef080a3e6218fde5d2457dbd560f7f4"> 28</a></span><span class="preprocessor">#define F_DUPFD_CLOFORK 0x201</span></div>
|
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#abc11141031604fb22b8e3a201155cbb3"> 29</a></span><span class="preprocessor">#define F_GETFD 0x2</span></div>
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#ad27227e8d87b844648f07d66da38bb3f"> 30</a></span><span class="preprocessor">#define F_SETFD 0x3</span></div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a025fad21a889c79f02ec53abe3526c32"> 31</a></span><span class="preprocessor">#define F_GETFL 0x4</span></div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#af2939853c650561d3495ed40f68f6249"> 32</a></span><span class="preprocessor">#define F_SETFL 0x5</span></div>
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a2c3005e07f9aedb5d77856d13c3e40c4"> 33</a></span><span class="preprocessor">#define F_GETLK 0x6</span></div>
|
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a68a7fc570f2fc271acc5358a6418504e"> 34</a></span><span class="preprocessor">#define F_SETLK 0x7</span></div>
|
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#aabb866cd0cf7ed3544dfc335e0e360fd"> 35</a></span><span class="preprocessor">#define F_SETLKW 0x8</span></div>
|
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a1564b73f59286bbf0999706304f87c6c"> 36</a></span><span class="preprocessor">#define F_OFD_GETLK 0x9</span></div>
|
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a4fc21528a6ce28d77a755f391568e1b4"> 37</a></span><span class="preprocessor">#define F_OFD_SETLK 0xA</span></div>
|
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a1538d86465f1f7057703c9c5e7a0f5b5"> 38</a></span><span class="preprocessor">#define F_OFD_SETLKW 0xB</span></div>
|
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#aa76959dcf54457a81c4cdf7789ba73e4"> 39</a></span><span class="preprocessor">#define F_GETOWN 0xC</span></div>
|
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a93853ac9fe27cbd3b0f01a85aa757307"> 40</a></span><span class="preprocessor">#define F_GETOWN_EX 0xD</span></div>
|
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a10e6ca002b56361c5adb1e66a8a4917d"> 41</a></span><span class="preprocessor">#define F_SETOWN 0xE</span></div>
|
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#adc1650d605443666b5301529250beaf8"> 42</a></span><span class="preprocessor">#define F_SETOWN_EX 0xF</span></div>
|
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div>
|
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a7e7a00c884ea124bb9f687b16cb5db9b"> 44</a></span><span class="preprocessor">#define FD_CLOEXEC 0x1</span></div>
|
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a33f5960552a23f65499b00d963c5a4b6"> 45</a></span><span class="preprocessor">#define FD_CLOFORK 0x2</span></div>
|
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> </div>
|
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span><span class="comment">/* l_type */</span></div>
|
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a1dfb7f83dd3989782404c0204484655b"> 48</a></span><span class="preprocessor">#define F_RDLCK 0x1</span></div>
|
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a2ace36798dbaef59cf9c99a4bf14fb96"> 49</a></span><span class="preprocessor">#define F_UNLCK 0x2</span></div>
|
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a708b81093fd9c80a2adc260b3e9ca623"> 50</a></span><span class="preprocessor">#define F_WRLCK 0x3</span></div>
|
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> </div>
|
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><span class="comment">/* type */</span></div>
|
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a0def4a47951ccbb2414661ee00ff96ba"> 53</a></span><span class="preprocessor">#define F_OWNER_PID 0</span></div>
|
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#ad0a5636b8c5e66572f423f3cf4351cf8"> 54</a></span><span class="preprocessor">#define F_OWNER_PGRP 1</span></div>
|
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> </div>
|
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span><span class="comment">/* oflag */</span></div>
|
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#ad6d8fbe4e494b4dbe051612572d3f757"> 57</a></span><span class="preprocessor">#define O_CLOEXEC 02000000</span></div>
|
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a1783d59f495ce350c1ed3e1724265ed5"> 58</a></span><span class="preprocessor">#define O_CLOFORK 04000000</span></div>
|
|
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a1cf6b1de1fffedaa1d26b189e9a8d2cc"> 59</a></span><span class="preprocessor">#define O_CREAT 0x8</span></div>
|
|
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a6afd3dd2f570069804b40e6aa24fc966"> 60</a></span><span class="preprocessor">#define O_DIRECTORY 0200000</span></div>
|
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a9f5acfe79fafe14b6694447bd0e9f10b"> 61</a></span><span class="preprocessor">#define O_EXCL 0x20</span></div>
|
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a2e375ab32c7ef4581b026be28e4cc116"> 62</a></span><span class="preprocessor">#define O_NOCTTY 0x40</span></div>
|
|
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a82d4d551b214905742c9e045185d352a"> 63</a></span><span class="preprocessor">#define O_NOFOLLOW 0400000</span></div>
|
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#ad1d67e453fb3031f40f8cd3403773813"> 64</a></span><span class="preprocessor">#define O_TRUNC 0x400</span></div>
|
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a0ee7b090d0fd09015039f6325118400f"> 65</a></span><span class="preprocessor">#define O_TTY_INIT 0x800</span></div>
|
|
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> </div>
|
|
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#ae036f789407d21f07b211552d67b3214"> 67</a></span><span class="preprocessor">#define O_APPEND 0x4</span></div>
|
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#af63e33218e573b9461b5f17d0ea79f2a"> 68</a></span><span class="preprocessor">#define O_DSYNC 0x10</span></div>
|
|
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a39d33ce33804efd4d52606d59071c6d8"> 69</a></span><span class="preprocessor">#define O_NONBLOCK 0x80</span></div>
|
|
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#ac9cf617d7c8fba45a5062f1f7322e6f8"> 70</a></span><span class="preprocessor">#define O_RSYNC 0x100</span></div>
|
|
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#aae85139bfa94236d126bb1e3b772998f"> 71</a></span><span class="preprocessor">#define O_SYNC 0x200</span></div>
|
|
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> </div>
|
|
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a4dc4d45e07d2abc899bcaf04b2846a87"> 73</a></span><span class="preprocessor">#define O_ACCMODE 0x3</span></div>
|
|
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> </div>
|
|
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a459542206659fbe295eb4183f8b8f06c"> 75</a></span><span class="preprocessor">#define O_EXEC 0x4</span></div>
|
|
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a7a68c9ffaac7dbcd652225dd7c06a54b"> 76</a></span><span class="preprocessor">#define O_RDONLY 0x1</span></div>
|
|
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#abb0586253488ee61072b73557eeb873b"> 77</a></span><span class="preprocessor">#define O_RDWR 0x3</span></div>
|
|
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#ac7984b2eaa7166aea31f0c4f6c91fb2d"> 78</a></span><span class="preprocessor">#define O_SEARCH 0x10</span></div>
|
|
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a11b644a8526139c4cc1850dac1271ced"> 79</a></span><span class="preprocessor">#define O_WRONLY 0x2</span></div>
|
|
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> </div>
|
|
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a301749b9aa4b9416c329bb8b19345216"> 81</a></span><span class="preprocessor">#define AT_FDCWD</span></div>
|
|
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#afba18be015711a5c496d49a1387bd412"> 82</a></span><span class="preprocessor">#define AT_EACCESS</span></div>
|
|
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#ad623014f05ffb83df42ba96900fcd62e"> 83</a></span><span class="preprocessor">#define AT_SYMLINK_NOFOLLOW</span></div>
|
|
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a0517ad09fa61307dd14718334b60f36e"> 84</a></span><span class="preprocessor">#define AT_SYMLINK_FOLLOW</span></div>
|
|
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a18f47dae5e59e6683441ef49754fe068"> 85</a></span><span class="preprocessor">#define AT_REMOVEDIR</span></div>
|
|
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> </div>
|
|
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a088883d3ba2ef3135e249427b897c650"> 87</a></span><span class="preprocessor">#define POSIX_FADV_DONTNEED</span></div>
|
|
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a4e3faf88d9b26f7cff31148b4f484149"> 88</a></span><span class="preprocessor">#define POSIX_FADV_NOREUSE</span></div>
|
|
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#afa2732611a1cf71fcf542361a97a4745"> 89</a></span><span class="preprocessor">#define POSIX_FADV_NORMAL</span></div>
|
|
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#aae17e2b1aa1265c588e04df5ec81c3d1"> 90</a></span><span class="preprocessor">#define POSIX_FADV_RANDOM</span></div>
|
|
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a997e00c0569d307a3f01a2f21517ee84"> 91</a></span><span class="preprocessor">#define POSIX_FADV_SEQUENTIAL</span></div>
|
|
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a4ba20512b0198da87b7d5176767ec29e"> 92</a></span><span class="preprocessor">#define POSIX_FADV_WILLNEED</span></div>
|
|
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> </div>
|
|
<div class="foldopen" id="foldopen00094" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html"> 94</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="../../d7/d9f/fcntl_8h.html#d2/dd7/structf__owner__ex">f_owner_ex</a></div>
|
|
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span>{</div>
|
|
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#afd32d7286d5aba4fb1ba922d58591997"> 96</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="../../d7/d9f/fcntl_8h.html#afd32d7286d5aba4fb1ba922d58591997">type</a>; <span class="comment">/* Discriminator for pid. */</span></div>
|
|
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#af64f49cc3f3024dce2031477aa13d8f7"> 97</a></span> pid_t <a class="code hl_variable" href="../../d7/d9f/fcntl_8h.html#af64f49cc3f3024dce2031477aa13d8f7">pid</a>; <span class="comment">/* Process ID or process group ID. */</span></div>
|
|
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a8e2aa946075a3f83381371f61ca71a74"> 98</a></span>} <a class="code hl_struct" href="../../d7/d9f/fcntl_8h.html#d2/dd7/structf__owner__ex">f_owner_ex</a>;</div>
|
|
</div>
|
|
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> </div>
|
|
<div class="foldopen" id="foldopen00100" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html"> 100</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="../../d7/d9f/fcntl_8h.html#d6/df2/structflock">flock</a></div>
|
|
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span>{</div>
|
|
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a24ceb1a44b2a5912f6f8b50195ed7fbe"> 102</a></span> <span class="keywordtype">short</span> <a class="code hl_variable" href="../../d7/d9f/fcntl_8h.html#a24ceb1a44b2a5912f6f8b50195ed7fbe">l_type</a>; <span class="comment">/* Type of lock; F_RDLCK, F_WRLCK, F_UNLCK. */</span></div>
|
|
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#acea10bfe92ee06d519c4850739924198"> 103</a></span> <span class="keywordtype">short</span> <a class="code hl_variable" href="../../d7/d9f/fcntl_8h.html#acea10bfe92ee06d519c4850739924198">l_whence</a>; <span class="comment">/* Flag for starting offset. */</span></div>
|
|
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a692ebc7782fe6a11c9de67d7fd20cc8f"> 104</a></span> off_t <a class="code hl_variable" href="../../d7/d9f/fcntl_8h.html#a692ebc7782fe6a11c9de67d7fd20cc8f">l_start</a>; <span class="comment">/* Relative offset in bytes. */</span></div>
|
|
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#af5dc2da04cf2af6e5b77018f9cdce489"> 105</a></span> off_t <a class="code hl_variable" href="../../d7/d9f/fcntl_8h.html#af5dc2da04cf2af6e5b77018f9cdce489">l_len</a>; <span class="comment">/* Size; if 0 then until EOF. */</span></div>
|
|
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#a5e84556aa660bd41cc8b8d862a547887"> 106</a></span> pid_t <a class="code hl_variable" href="../../d7/d9f/fcntl_8h.html#a5e84556aa660bd41cc8b8d862a547887">l_pid</a>; <span class="comment">/* For a process-owned file lock, ignored on input or the process ID of the owning process on output; for an OFD-owned file lock, zero on input or (pid_t)-1 on output. */</span></div>
|
|
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"><a class="line" href="../../d7/d9f/fcntl_8h.html#ae572f48acec92feb49790f2328bc2e0e"> 107</a></span>} <a class="code hl_struct" href="../../d7/d9f/fcntl_8h.html#d6/df2/structflock">flock</a>;</div>
|
|
</div>
|
|
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> </div>
|
|
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span><span class="preprocessor">#endif </span><span class="comment">// !__FENNIX_API_FCNTL_H__</span></div>
|
|
<div class="ttc" id="afcntl_8h_html_a24ceb1a44b2a5912f6f8b50195ed7fbe"><div class="ttname"><a href="../../d7/d9f/fcntl_8h.html#a24ceb1a44b2a5912f6f8b50195ed7fbe">flock::l_type</a></div><div class="ttdeci">short l_type</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d9f/fcntl_8h_source.html#l00102">fcntl.h:102</a></div></div>
|
|
<div class="ttc" id="afcntl_8h_html_a5e84556aa660bd41cc8b8d862a547887"><div class="ttname"><a href="../../d7/d9f/fcntl_8h.html#a5e84556aa660bd41cc8b8d862a547887">flock::l_pid</a></div><div class="ttdeci">pid_t l_pid</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d9f/fcntl_8h_source.html#l00106">fcntl.h:106</a></div></div>
|
|
<div class="ttc" id="afcntl_8h_html_a692ebc7782fe6a11c9de67d7fd20cc8f"><div class="ttname"><a href="../../d7/d9f/fcntl_8h.html#a692ebc7782fe6a11c9de67d7fd20cc8f">flock::l_start</a></div><div class="ttdeci">off_t l_start</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d9f/fcntl_8h_source.html#l00104">fcntl.h:104</a></div></div>
|
|
<div class="ttc" id="afcntl_8h_html_acea10bfe92ee06d519c4850739924198"><div class="ttname"><a href="../../d7/d9f/fcntl_8h.html#acea10bfe92ee06d519c4850739924198">flock::l_whence</a></div><div class="ttdeci">short l_whence</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d9f/fcntl_8h_source.html#l00103">fcntl.h:103</a></div></div>
|
|
<div class="ttc" id="afcntl_8h_html_af5dc2da04cf2af6e5b77018f9cdce489"><div class="ttname"><a href="../../d7/d9f/fcntl_8h.html#af5dc2da04cf2af6e5b77018f9cdce489">flock::l_len</a></div><div class="ttdeci">off_t l_len</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d9f/fcntl_8h_source.html#l00105">fcntl.h:105</a></div></div>
|
|
<div class="ttc" id="afcntl_8h_html_af64f49cc3f3024dce2031477aa13d8f7"><div class="ttname"><a href="../../d7/d9f/fcntl_8h.html#af64f49cc3f3024dce2031477aa13d8f7">f_owner_ex::pid</a></div><div class="ttdeci">pid_t pid</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d9f/fcntl_8h_source.html#l00097">fcntl.h:97</a></div></div>
|
|
<div class="ttc" id="afcntl_8h_html_afd32d7286d5aba4fb1ba922d58591997"><div class="ttname"><a href="../../d7/d9f/fcntl_8h.html#afd32d7286d5aba4fb1ba922d58591997">f_owner_ex::type</a></div><div class="ttdeci">int type</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d9f/fcntl_8h_source.html#l00096">fcntl.h:96</a></div></div>
|
|
<div class="ttc" id="afcntl_8h_html_d2/dd7/structf__owner__ex"><div class="ttname"><a href="../../d7/d9f/fcntl_8h.html#d2/dd7/structf__owner__ex">f_owner_ex</a></div><div class="ttdef"><b>Definition</b> <a href="../../d7/d9f/fcntl_8h_source.html#l00094">fcntl.h:95</a></div></div>
|
|
<div class="ttc" id="afcntl_8h_html_d6/df2/structflock"><div class="ttname"><a href="../../d7/d9f/fcntl_8h.html#d6/df2/structflock">flock</a></div><div class="ttdef"><b>Definition</b> <a href="../../d7/d9f/fcntl_8h_source.html#l00100">fcntl.h:101</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="../../dir_52bed8acfaac088d5968cb2c84d7645d.html">Kernel</a></li><li class="navelem"><a class="el" href="../../dir_2c335c1ccbf6ef7c89cc08c9ed88be2e.html">include</a></li><li class="navelem"><a class="el" href="../../dir_811a06ffcfc34bd0f88967f0406a39f5.html">interface</a></li><li class="navelem"><a class="el" href="../../d7/d9f/fcntl_8h.html">fcntl.h</a></li>
|
|
<li class="footer">Generated on Fri Mar 21 2025 23:00:07 for Fennix by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|