| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="utf-8"> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| <meta name="generator" content="rustdoc"> |
| <meta name="description" content="API documentation for the Rust `fcntl` mod in crate `nix`."> |
| <meta name="keywords" content="rust, rustlang, rust-lang, fcntl"> |
| |
| <title>nix::fcntl - Rust</title> |
| |
| <link rel="stylesheet" type="text/css" href="../../normalize.css"> |
| <link rel="stylesheet" type="text/css" href="../../rustdoc.css"> |
| <link rel="stylesheet" type="text/css" href="../../main.css"> |
| |
| |
| |
| |
| </head> |
| <body class="rustdoc mod"> |
| <!--[if lte IE 8]> |
| <div class="warning"> |
| This old browser is unsupported and will most likely display funky |
| things. |
| </div> |
| <![endif]--> |
| |
| |
| |
| <nav class="sidebar"> |
| |
| <p class='location'>Module fcntl</p><div class="block items"><ul><li><a href="#reexports">Reexports</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#constants">Constants</a></li><li><a href="#functions">Functions</a></li></ul></div><p class='location'><a href='../index.html'>nix</a></p><script>window.sidebarCurrent = {name: 'fcntl', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script> |
| </nav> |
| |
| <nav class="sub"> |
| <form class="search-form js-only"> |
| <div class="search-container"> |
| <input class="search-input" name="search" |
| autocomplete="off" |
| placeholder="Click or press ‘S’ to search, ‘?’ for more options…" |
| type="search"> |
| </div> |
| </form> |
| </nav> |
| |
| <section id='main' class="content"> |
| <h1 class='fqn'><span class='in-band'>Module <a href='../index.html'>nix</a>::<wbr><a class="mod" href=''>fcntl</a></span><span class='out-of-band'><span id='render-detail'> |
| <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs"> |
| [<span class='inner'>−</span>] |
| </a> |
| </span><a class='srclink' href='../../src/nix/fcntl.rs.html#1-343' title='goto source code'>[src]</a></span></h1> |
| <h2 id='reexports' class='section-header'><a href="#reexports">Reexports</a></h2> |
| <table><tr><td><code>pub use self::<a class="enum" href="../../nix/fcntl/enum.FcntlArg.html" title="enum nix::fcntl::FcntlArg">FcntlArg</a>::*;</code></td></tr></table><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2> |
| <table> |
| <tr class=' module-item'> |
| <td><a class="struct" href="struct.FdFlag.html" |
| title='struct nix::fcntl::FdFlag'>FdFlag</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="struct" href="struct.OFlag.html" |
| title='struct nix::fcntl::OFlag'>OFlag</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="struct" href="struct.SealFlag.html" |
| title='struct nix::fcntl::SealFlag'>SealFlag</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="struct" href="struct.SpliceFFlags.html" |
| title='struct nix::fcntl::SpliceFFlags'>SpliceFFlags</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr></table><h2 id='enums' class='section-header'><a href="#enums">Enums</a></h2> |
| <table> |
| <tr class=' module-item'> |
| <td><a class="enum" href="enum.FcntlArg.html" |
| title='enum nix::fcntl::FcntlArg'>FcntlArg</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="enum" href="enum.FlockArg.html" |
| title='enum nix::fcntl::FlockArg'>FlockArg</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr></table><h2 id='constants' class='section-header'><a href="#constants">Constants</a></h2> |
| <table> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.FD_CLOEXEC.html" |
| title='constant nix::fcntl::FD_CLOEXEC'>FD_CLOEXEC</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.F_SEAL_GROW.html" |
| title='constant nix::fcntl::F_SEAL_GROW'>F_SEAL_GROW</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.F_SEAL_SEAL.html" |
| title='constant nix::fcntl::F_SEAL_SEAL'>F_SEAL_SEAL</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.F_SEAL_SHRINK.html" |
| title='constant nix::fcntl::F_SEAL_SHRINK'>F_SEAL_SHRINK</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.F_SEAL_WRITE.html" |
| title='constant nix::fcntl::F_SEAL_WRITE'>F_SEAL_WRITE</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.O_ACCMODE.html" |
| title='constant nix::fcntl::O_ACCMODE'>O_ACCMODE</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.O_APPEND.html" |
| title='constant nix::fcntl::O_APPEND'>O_APPEND</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.O_CLOEXEC.html" |
| title='constant nix::fcntl::O_CLOEXEC'>O_CLOEXEC</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.O_CREAT.html" |
| title='constant nix::fcntl::O_CREAT'>O_CREAT</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.O_DIRECT.html" |
| title='constant nix::fcntl::O_DIRECT'>O_DIRECT</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.O_DIRECTORY.html" |
| title='constant nix::fcntl::O_DIRECTORY'>O_DIRECTORY</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.O_DSYNC.html" |
| title='constant nix::fcntl::O_DSYNC'>O_DSYNC</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.O_EXCL.html" |
| title='constant nix::fcntl::O_EXCL'>O_EXCL</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.O_LARGEFILE.html" |
| title='constant nix::fcntl::O_LARGEFILE'>O_LARGEFILE</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.O_NDELAY.html" |
| title='constant nix::fcntl::O_NDELAY'>O_NDELAY</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.O_NOATIME.html" |
| title='constant nix::fcntl::O_NOATIME'>O_NOATIME</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.O_NOCTTY.html" |
| title='constant nix::fcntl::O_NOCTTY'>O_NOCTTY</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.O_NOFOLLOW.html" |
| title='constant nix::fcntl::O_NOFOLLOW'>O_NOFOLLOW</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.O_NONBLOCK.html" |
| title='constant nix::fcntl::O_NONBLOCK'>O_NONBLOCK</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.O_PATH.html" |
| title='constant nix::fcntl::O_PATH'>O_PATH</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.O_RDONLY.html" |
| title='constant nix::fcntl::O_RDONLY'>O_RDONLY</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.O_RDWR.html" |
| title='constant nix::fcntl::O_RDWR'>O_RDWR</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.O_SYNC.html" |
| title='constant nix::fcntl::O_SYNC'>O_SYNC</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.O_TMPFILE.html" |
| title='constant nix::fcntl::O_TMPFILE'>O_TMPFILE</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.O_TRUNC.html" |
| title='constant nix::fcntl::O_TRUNC'>O_TRUNC</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.O_WRONLY.html" |
| title='constant nix::fcntl::O_WRONLY'>O_WRONLY</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.SPLICE_F_GIFT.html" |
| title='constant nix::fcntl::SPLICE_F_GIFT'>SPLICE_F_GIFT</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.SPLICE_F_MORE.html" |
| title='constant nix::fcntl::SPLICE_F_MORE'>SPLICE_F_MORE</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.SPLICE_F_MOVE.html" |
| title='constant nix::fcntl::SPLICE_F_MOVE'>SPLICE_F_MOVE</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="constant" href="constant.SPLICE_F_NONBLOCK.html" |
| title='constant nix::fcntl::SPLICE_F_NONBLOCK'>SPLICE_F_NONBLOCK</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr></table><h2 id='functions' class='section-header'><a href="#functions">Functions</a></h2> |
| <table> |
| <tr class=' module-item'> |
| <td><a class="fn" href="fn.fcntl.html" |
| title='fn nix::fcntl::fcntl'>fcntl</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="fn" href="fn.flock.html" |
| title='fn nix::fcntl::flock'>flock</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="fn" href="fn.open.html" |
| title='fn nix::fcntl::open'>open</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="fn" href="fn.splice.html" |
| title='fn nix::fcntl::splice'>splice</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="fn" href="fn.tee.html" |
| title='fn nix::fcntl::tee'>tee</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr> |
| <tr class=' module-item'> |
| <td><a class="fn" href="fn.vmsplice.html" |
| title='fn nix::fcntl::vmsplice'>vmsplice</a></td> |
| <td class='docblock-short'> |
| |
| </td> |
| </tr></table></section> |
| <section id='search' class="content hidden"></section> |
| |
| <section class="footer"></section> |
| |
| <aside id="help" class="hidden"> |
| <div> |
| <h1 class="hidden">Help</h1> |
| |
| <div class="shortcuts"> |
| <h2>Keyboard Shortcuts</h2> |
| |
| <dl> |
| <dt>?</dt> |
| <dd>Show this help dialog</dd> |
| <dt>S</dt> |
| <dd>Focus the search field</dd> |
| <dt>⇤</dt> |
| <dd>Move up in search results</dd> |
| <dt>⇥</dt> |
| <dd>Move down in search results</dd> |
| <dt>⏎</dt> |
| <dd>Go to active search result</dd> |
| <dt>+</dt> |
| <dd>Collapse/expand all sections</dd> |
| </dl> |
| </div> |
| |
| <div class="infos"> |
| <h2>Search Tricks</h2> |
| |
| <p> |
| Prefix searches with a type followed by a colon (e.g. |
| <code>fn:</code>) to restrict the search to a given type. |
| </p> |
| |
| <p> |
| Accepted types are: <code>fn</code>, <code>mod</code>, |
| <code>struct</code>, <code>enum</code>, |
| <code>trait</code>, <code>type</code>, <code>macro</code>, |
| and <code>const</code>. |
| </p> |
| |
| <p> |
| Search functions by type signature (e.g. |
| <code>vec -> usize</code> or <code>* -> vec</code>) |
| </p> |
| </div> |
| </div> |
| </aside> |
| |
| |
| |
| <script> |
| window.rootPath = "../../"; |
| window.currentCrate = "nix"; |
| </script> |
| <script src="../../main.js"></script> |
| <script defer src="../../search-index.js"></script> |
| </body> |
| </html> |