|
|
|
|
<!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 `libc` crate."><meta name="keywords" content="rust, rustlang, rust-lang, libc"><title>libc - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../dark.css"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><script src="../storage.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="shortcut icon" href="../favicon.ico"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></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"><div class="sidebar-menu">☰</div><a href='../libc/index.html'><div class='logo-container'><img src='../rust-logo.png' alt='logo'></div></a><p class='location'>Crate libc</p><div class="sidebar-elems"><a id='all-types' href='all.html'><p>See all libc's items</p></a><div class="block items"><ul><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><li><a href="#types">Type Definitions</a></li></ul></div><p class='location'></p><script>window.sidebarCurrent = {name: 'libc', ty: 'mod', relpath: '../'};</script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><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/libc/lib.rs.html#10-144' title='goto source code'>[src]</a></span><span class='in-band'>Crate <a class="mod" href=''>libc</a></span></h1><div class='docblock'><p>libc - Raw FFI bindings to platforms' system libraries</p>
|
|
|
|
|
<p><a href="https://rust-lang.github.io/libc/#platform-specific-documentation">Documentation for other platforms</a>.</p>
|
|
|
|
|
</div><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
|
|
|
|
|
<table><tr class='module-item'><td><a class="struct" href="struct.Dl_info.html" title='libc::Dl_info struct'>Dl_info</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.Elf32_Ehdr.html" title='libc::Elf32_Ehdr struct'>Elf32_Ehdr</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.Elf32_Sym.html" title='libc::Elf32_Sym struct'>Elf32_Sym</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.Elf32_Phdr.html" title='libc::Elf32_Phdr struct'>Elf32_Phdr</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.Elf32_Shdr.html" title='libc::Elf32_Shdr struct'>Elf32_Shdr</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.Elf32_Chdr.html" title='libc::Elf32_Chdr struct'>Elf32_Chdr</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.Elf64_Ehdr.html" title='libc::Elf64_Ehdr struct'>Elf64_Ehdr</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.Elf64_Sym.html" title='libc::Elf64_Sym struct'>Elf64_Sym</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.Elf64_Phdr.html" title='libc::Elf64_Phdr struct'>Elf64_Phdr</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.Elf64_Shdr.html" title='libc::Elf64_Shdr struct'>Elf64_Shdr</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.Elf64_Chdr.html" title='libc::Elf64_Chdr struct'>Elf64_Chdr</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.__exit_status.html" title='libc::__exit_status struct'>__exit_status</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.__timeval.html" title='libc::__timeval struct'>__timeval</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct._libc_fpstate.html" title='libc::_libc_fpstate struct'>_libc_fpstate</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct._libc_fpxreg.html" title='libc::_libc_fpxreg struct'>_libc_fpxreg</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct._libc_xmmreg.html" title='libc::_libc_xmmreg struct'>_libc_xmmreg</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.addrinfo.html" title='libc::addrinfo struct'>addrinfo</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.af_alg_iv.html" title='libc::af_alg_iv struct'>af_alg_iv</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.aiocb.html" title='libc::aiocb struct'>aiocb</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.arpd_request.html" title='libc::arpd_request struct'>arpd_request</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.arphdr.html" title='libc::arphdr struct'>arphdr</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.arpreq.html" title='libc::arpreq struct'>arpreq</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.arpreq_old.html" title='libc::arpreq_old struct'>arpreq_old</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.cmsghdr.html" title='libc::cmsghdr struct'>cmsghdr</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.cpu_set_t.html" title='libc::cpu_set_t struct'>cpu_set_t</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a
|
|
|
|
|
<table><tr class='module-item'><td><a class="enum" href="enum.DIR.html" title='libc::DIR enum'>DIR</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="enum" href="enum.FILE.html" title='libc::FILE enum'>FILE</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="enum" href="enum.c_void.html" title='libc::c_void enum'>c_void</a></td><td class='docblock-short'><p>Equivalent to C's <code>void</code> type when used as a <a href="../../std/primitive.pointer.html">pointer</a>.</p>
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="enum" href="enum.fpos64_t.html" title='libc::fpos64_t enum'>fpos64_t</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="enum" href="enum.fpos_t.html" title='libc::fpos_t enum'>fpos_t</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="enum" href="enum.timezone.html" title='libc::timezone enum'>timezone</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.ABDAY_1.html" title='libc::ABDAY_1 constant'>ABDAY_1</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.ABDAY_2.html" title='libc::ABDAY_2 constant'>ABDAY_2</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.ABDAY_3.html" title='libc::ABDAY_3 constant'>ABDAY_3</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.ABDAY_4.html" title='libc::ABDAY_4 constant'>ABDAY_4</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.ABDAY_5.html" title='libc::ABDAY_5 constant'>ABDAY_5</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.ABDAY_6.html" title='libc::ABDAY_6 constant'>ABDAY_6</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.ABDAY_7.html" title='libc::ABDAY_7 constant'>ABDAY_7</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.ABMON_1.html" title='libc::ABMON_1 constant'>ABMON_1</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.ABMON_2.html" title='libc::ABMON_2 constant'>ABMON_2</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.ABMON_3.html" title='libc::ABMON_3 constant'>ABMON_3</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.ABMON_4.html" title='libc::ABMON_4 constant'>ABMON_4</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.ABMON_5.html" title='libc::ABMON_5 constant'>ABMON_5</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.ABMON_6.html" title='libc::ABMON_6 constant'>ABMON_6</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.ABMON_7.html" title='libc::ABMON_7 constant'>ABMON_7</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.ABMON_8.html" title='libc::ABMON_8 constant'>ABMON_8</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.ABMON_9.html" title='libc::ABMON_9 constant'>ABMON_9</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.ABMON_10.html" title='libc::ABMON_10 constant'>ABMON_10</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.ABMON_11.html" title='libc::ABMON_11 constant'>ABMON_11</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.ABMON_12.html" title='libc::ABMON_12 constant'>ABMON_12</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.ACCOUNTING.html" title='libc::ACCOUNTING constant'>ACCOUNTING</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.ADFS_SUPER_MAGIC.html" title='libc::ADFS_SUPER_MAGIC constant'>ADFS_SUPER_MAGIC</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.AFFS_SUPER_MAGIC.html" title='libc::AFFS_SUPER_MAGIC constant'>AFFS_SUPER_MAGIC</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.AF_ALG.html" title='libc::AF_ALG constant'>AF_ALG</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.AF_APPLETALK.html" title='libc::AF_APPLETALK constant'>AF_APPLETALK</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.AF_ASH.html" title='libc::AF_ASH constant'>AF_ASH</a></td><td class='docblock
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="constant" href="constant.DCCP_SOCKOPT_AVAILABLE_CCIDS.html" title='libc::DCCP_SOCKOPT_AVAILABLE_CCIDS constant'>DCCP_SOCKOPT_AVAILABLE_CCIDS</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.DCCP_SOCKOPT_CCID.html" title='libc::DCCP_SOCKOPT_CCID constant'>DCCP_SOCKOPT_CCID</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.DCCP_SOCKOPT_CCID_RX_INFO.html" title='libc::DCCP_SOCKOPT_CCID_RX_INFO constant'>DCCP_SOCKOPT_CCID_RX_INFO</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.DCCP_SOCKOPT_CCID_TX_INFO.html" title='libc::DCCP_SOCKOPT_CCID_TX_INFO constant'>DCCP_SOCKOPT_CCID_TX_INFO</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.DCCP_SOCKOPT_CHANGE_L.html" title='libc::DCCP_SOCKOPT_CHANGE_L constant'>DCCP_SOCKOPT_CHANGE_L</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.DCCP_SOCKOPT_CHANGE_R.html" title='libc::DCCP_SOCKOPT_CHANGE_R constant'>DCCP_SOCKOPT_CHANGE_R</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.DCCP_SOCKOPT_GET_CUR_MPS.html" title='libc::DCCP_SOCKOPT_GET_CUR_MPS constant'>DCCP_SOCKOPT_GET_CUR_MPS</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.DCCP_SOCKOPT_PACKET_SIZE.html" title='libc::DCCP_SOCKOPT_PACKET_SIZE constant'>DCCP_SOCKOPT_PACKET_SIZE</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.DCCP_SOCKOPT_QPOLICY_ID.html" title='libc::DCCP_SOCKOPT_QPOLICY_ID constant'>DCCP_SOCKOPT_QPOLICY_ID</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.DCCP_SOCKOPT_QPOLICY_TXQLEN.html" title='libc::DCCP_SOCKOPT_QPOLICY_TXQLEN constant'>DCCP_SOCKOPT_QPOLICY_TXQLEN</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.DCCP_SOCKOPT_RECV_CSCOV.html" title='libc::DCCP_SOCKOPT_RECV_CSCOV constant'>DCCP_SOCKOPT_RECV_CSCOV</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.DCCP_SOCKOPT_RX_CCID.html" title='libc::DCCP_SOCKOPT_RX_CCID constant'>DCCP_SOCKOPT_RX_CCID</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.DCCP_SOCKOPT_SEND_CSCOV.html" title='libc::DCCP_SOCKOPT_SEND_CSCOV constant'>DCCP_SOCKOPT_SEND_CSCOV</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.DCCP_SOCKOPT_SERVER_TIMEWAIT.html" title='libc::DCCP_SOCKOPT_SERVER_TIMEWAIT constant'>DCCP_SOCKOPT_SERVER_TIMEWAIT</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.DCCP_SOCKOPT_SERVICE.html" title='libc::DCCP_SOCKOPT_SERVICE constant'>DCCP_SOCKOPT_SERVICE</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.DCCP_SOCKOPT_TX_CCID.html" title='libc::DCCP_SOCKOPT_TX_CCID constant'>DCCP_SOCKOPT_TX_CCID</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.DEAD_PROCESS.html" title='libc::DEAD_PROCESS constant'>DEAD_PROCESS</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.DS.html" title='libc::DS constant'>DS</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.DT_BLK.html" title='libc::DT_BLK constant'>DT_BLK</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.DT_CHR.html" title='libc::DT_CHR constant'>DT_CHR</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.DT_DIR.html" title='libc::DT_DIR cons
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_BEETPH.html" title='libc::IPPROTO_BEETPH constant'>IPPROTO_BEETPH</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_COMP.html" title='libc::IPPROTO_COMP constant'>IPPROTO_COMP</a></td><td class='docblock-short'><p>IP Payload Comp. Protocol</p>
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_DCCP.html" title='libc::IPPROTO_DCCP constant'>IPPROTO_DCCP</a></td><td class='docblock-short'><p>DCCP</p>
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_DSTOPTS.html" title='libc::IPPROTO_DSTOPTS constant'>IPPROTO_DSTOPTS</a></td><td class='docblock-short'><p>IP6 destination option</p>
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_EGP.html" title='libc::IPPROTO_EGP constant'>IPPROTO_EGP</a></td><td class='docblock-short'><p>exterior gateway protocol</p>
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_ENCAP.html" title='libc::IPPROTO_ENCAP constant'>IPPROTO_ENCAP</a></td><td class='docblock-short'><p>encapsulation header</p>
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_ESP.html" title='libc::IPPROTO_ESP constant'>IPPROTO_ESP</a></td><td class='docblock-short'><p>IP6 Encap Sec. Payload</p>
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_FRAGMENT.html" title='libc::IPPROTO_FRAGMENT constant'>IPPROTO_FRAGMENT</a></td><td class='docblock-short'><p>IP6 fragmentation header</p>
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_GRE.html" title='libc::IPPROTO_GRE constant'>IPPROTO_GRE</a></td><td class='docblock-short'><p>General Routing Encap.</p>
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_HOPOPTS.html" title='libc::IPPROTO_HOPOPTS constant'>IPPROTO_HOPOPTS</a></td><td class='docblock-short'><p>Hop-by-hop option header</p>
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_ICMP.html" title='libc::IPPROTO_ICMP constant'>IPPROTO_ICMP</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_ICMPV6.html" title='libc::IPPROTO_ICMPV6 constant'>IPPROTO_ICMPV6</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_IDP.html" title='libc::IPPROTO_IDP constant'>IPPROTO_IDP</a></td><td class='docblock-short'><p>xns idp</p>
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_IGMP.html" title='libc::IPPROTO_IGMP constant'>IPPROTO_IGMP</a></td><td class='docblock-short'><p>group mgmt protocol</p>
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_IP.html" title='libc::IPPROTO_IP constant'>IPPROTO_IP</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_IPIP.html" title='libc::IPPROTO_IPIP constant'>IPPROTO_IPIP</a></td><td class='docblock-short'><p>for compatibility</p>
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_IPV6.html" title='libc::IPPROTO_IPV6 constant'>IPPROTO_IPV6</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_MAX.html" title='libc::IPPROTO_MAX constant'>IPPROTO_MAX</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_MH.html" title='libc::IPPROTO_MH constant'>IPPROTO_MH</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_MPLS.html" title='libc::IPPROTO_MPLS constant'>IPPROTO_MPLS</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_MTP.html" title='libc::IPPROTO_MTP constant'>IPPROTO_MTP</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_NONE.html" title='libc::IPPROTO_NONE constant'>IPPROTO_NONE</a></td><td class='docblock-short'><p>IP6 no next header</p>
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_PIM.html" title='libc::IPPROTO_PIM constant'>IPPROTO_PIM</a></td><td class='docblock-short'><p>Protocol indep. multicast</p>
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_PUP.html" title='libc::IPPROTO_PUP constant'>IPPROTO_PUP</a></td><td class='docblock-short'><p>pup</p>
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_RAW.html" title='libc::IPPROTO_RAW constant'>IPPROTO_RAW</a></td><td class='docblock-short'><p>raw IP packet</p>
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_ROUTING.html" title='libc::IPPROTO_ROUTING constant'>IPPROTO_ROUTING</a></td><td class='docblock-short'><p>IP6 routing header</p>
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_RSVP.html" title='libc::IPPROTO_RSVP constant'>IPPROTO_RSVP</a></td><td class='docblock-short'><p>resource reservation</p>
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_SCTP.html" title='libc::IPPROTO_SCTP constant'>IPPROTO_SCTP</a></td><td class='docblock-short'><p>SCTP</p>
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_TCP.html" title='libc::IPPROTO_TCP constant'>IPPROTO_TCP</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_TP.html" title='libc::IPPROTO_TP constant'>IPPROTO_TP</a></td><td class='docblock-short'><p>tp-4 w/ class negotiation</p>
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_UDP.html" title='libc::IPPROTO_UDP constant'>IPPROTO_UDP</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPPROTO_UDPLITE.html" title='libc::IPPROTO_UDPLITE constant'>IPPROTO_UDPLITE</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPTOS_ECN_CE.html" title='libc::IPTOS_ECN_CE constant'>IPTOS_ECN_CE</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPTOS_ECN_ECT0.html" title='libc::IPTOS_ECN_ECT0 constant'>IPTOS_ECN_ECT0</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPTOS_ECN_ECT1.html" title='libc::IPTOS_ECN_ECT1 constant'>IPTOS_ECN_ECT1</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPTOS_ECN_MASK.html" title='libc::IPTOS_ECN_MASK constant'>IPTOS_ECN_MASK</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPTOS_ECN_NOT_ECT.html" title='libc::IPTOS_ECN_NOT_ECT constant'>IPTOS_ECN_NOT_ECT</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPTOS_LOWDELAY.html" title='libc::IPTOS_LOWDELAY constant'>IPTOS_LOWDELAY</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPTOS_MINCOST.html" title='libc::IPTOS_MINCOST constant'>IPTOS_MINCOST</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPTOS_PREC_CRITIC_ECP.html" title='libc::IPTOS_PREC_CRITIC_ECP constant'>IPTOS_PREC_CRITIC_ECP</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPTOS_PREC_FLASH.html" title='libc::IPTOS_PREC_FLASH constant'>IPTOS_PREC_FLASH</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPTOS_PREC_FLASHOVERRIDE.html" title='libc::IPTOS_PREC_FLASHOVERRIDE constant'>IPTOS_PREC_FLASHOVERRIDE</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPTOS_PREC_IMMEDIATE.html" title='libc::IPTOS_PREC_IMMEDIATE constant'>IPTOS_PREC_IMMEDIATE</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPTOS_PREC_INTERNETCONTROL.html" title='libc::IPTOS_PREC_INTERNETCONTROL constant'>IPTOS_PREC_INTERNETCONTROL</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPTOS_PREC_MASK.html" title='libc::IPTOS_PREC_MASK constant'>IPTOS_PREC_MASK</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPTOS_PREC_NETCONTROL.html" title='libc::IPTOS_PREC_NETCONTROL constant'>IPTOS_PREC_NETCONTROL</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPTOS_PREC_PRIORITY.html" title='libc::IPTOS_PREC_PRIORITY constant'>IPTOS_PREC_PRIORITY</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPTOS_PREC_ROUTINE.html" title='libc::IPTOS_PREC_ROUTINE constant'>IPTOS_PREC_ROUTINE</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPTOS_RELIABILITY.html" title='libc::IPTOS_RELIABILITY constant'>IPTOS_RELIABILITY</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPTOS_THROUGHPUT.html" title='libc::IPTOS_THROUGHPUT constant'>IPTOS_THROUGHPUT</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPTOS_TOS_MASK.html" title='libc::IPTOS_TOS_MASK constant'>IPTOS_TOS_MASK</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="constant" href="constant.IPV6_UNICAST_HOPS.html" title
|
|
|
|
|
<table><tr class='module-item'><td><a class="fn" href="fn.CMSG_DATA.html" title='libc::CMSG_DATA fn'>CMSG_DATA</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.CMSG_FIRSTHDR.html" title='libc::CMSG_FIRSTHDR fn'>CMSG_FIRSTHDR</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.CMSG_LEN.html" title='libc::CMSG_LEN fn'>CMSG_LEN</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.CMSG_NXTHDR.html" title='libc::CMSG_NXTHDR fn'>CMSG_NXTHDR</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.CMSG_SPACE.html" title='libc::CMSG_SPACE fn'>CMSG_SPACE</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.CPU_CLR.html" title='libc::CPU_CLR fn'>CPU_CLR</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.CPU_EQUAL.html" title='libc::CPU_EQUAL fn'>CPU_EQUAL</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.CPU_ISSET.html" title='libc::CPU_ISSET fn'>CPU_ISSET</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.CPU_SET.html" title='libc::CPU_SET fn'>CPU_SET</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.CPU_ZERO.html" title='libc::CPU_ZERO fn'>CPU_ZERO</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.FD_CLR.html" title='libc::FD_CLR fn'>FD_CLR</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.FD_ISSET.html" title='libc::FD_ISSET fn'>FD_ISSET</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.FD_SET.html" title='libc::FD_SET fn'>FD_SET</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.FD_ZERO.html" title='libc::FD_ZERO fn'>FD_ZERO</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.IPOPT_CLASS.html" title='libc::IPOPT_CLASS fn'>IPOPT_CLASS</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.IPOPT_COPIED.html" title='libc::IPOPT_COPIED fn'>IPOPT_COPIED</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.IPOPT_NUMBER.html" title='libc::IPOPT_NUMBER fn'>IPOPT_NUMBER</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.IPTOS_ECN.html" title='libc::IPTOS_ECN fn'>IPTOS_ECN</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.IPTOS_PREC.html" title='libc::IPTOS_PREC fn'>IPTOS_PREC</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.IPTOS_TOS.html" title='libc::IPTOS_TOS fn'>IPTOS_TOS</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><
|
|
|
|
|
32-bit Solaris or illumos target is ever created, it should use
|
|
|
|
|
__posix_readdir_r. See libc(3LIB) on Solaris or illumos:
|
|
|
|
|
https://illumos.org/man/3lib/libc
|
|
|
|
|
https://docs.oracle.com/cd/E36784_01/html/E36873/libc-3lib.html
|
|
|
|
|
https://www.unix.com/man-page/opensolaris/3LIB/libc/</p>
|
|
|
|
|
</td></tr><tr class='module-item'><td><a class="fn" href="fn.readlink.html" title='libc::readlink fn'>readlink</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.readlinkat.html" title='libc::readlinkat fn'>readlinkat</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.readv.html" title='libc::readv fn'>readv</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.realloc.html" title='libc::realloc fn'>realloc</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.realpath.html" title='libc::realpath fn'>realpath</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.reboot.html" title='libc::reboot fn'>reboot</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.recv.html" title='libc::recv fn'>recv</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.recvfrom.html" title='libc::recvfrom fn'>recvfrom</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.recvmmsg.html" title='libc::recvmmsg fn'>recvmmsg</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.recvmsg.html" title='libc::recvmsg fn'>recvmsg</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.remap_file_pages.html" title='libc::remap_file_pages fn'>remap_file_pages</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.remove.html" title='libc::remove fn'>remove</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.removexattr.html" title='libc::removexattr fn'>removexattr</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.rename.html" title='libc::rename fn'>rename</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.renameat.html" title='libc::renameat fn'>renameat</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.res_init.html" title='libc::res_init fn'>res_init</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.rewind.html" title='libc::rewind fn'>rewind</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.rewinddir.html" title='libc::rewinddir fn'>rewinddir</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.rmdir.html" title='libc::rmdir fn'>rmdir</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.sbrk.html" title='libc::sbrk fn'>sbrk</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="fn" href="fn.scanf.html" title='libc::scanf fn'>scanf</a><a title='unsafe fun
|
|
|
|
|
<table><tr class='module-item'><td><a class="type" href="type.Elf32_Half.html" title='libc::Elf32_Half type'>Elf32_Half</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.Elf32_Word.html" title='libc::Elf32_Word type'>Elf32_Word</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.Elf32_Off.html" title='libc::Elf32_Off type'>Elf32_Off</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.Elf32_Addr.html" title='libc::Elf32_Addr type'>Elf32_Addr</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.Elf32_Section.html" title='libc::Elf32_Section type'>Elf32_Section</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.Elf64_Half.html" title='libc::Elf64_Half type'>Elf64_Half</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.Elf64_Word.html" title='libc::Elf64_Word type'>Elf64_Word</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.Elf64_Off.html" title='libc::Elf64_Off type'>Elf64_Off</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.Elf64_Addr.html" title='libc::Elf64_Addr type'>Elf64_Addr</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.Elf64_Xword.html" title='libc::Elf64_Xword type'>Elf64_Xword</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.Elf64_Sxword.html" title='libc::Elf64_Sxword type'>Elf64_Sxword</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.Elf64_Section.html" title='libc::Elf64_Section type'>Elf64_Section</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.__fsword_t.html" title='libc::__fsword_t type'>__fsword_t</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.__priority_which_t.html" title='libc::__priority_which_t type'>__priority_which_t</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.__rlimit_resource_t.html" title='libc::__rlimit_resource_t type'>__rlimit_resource_t</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.__s16.html" title='libc::__s16 type'>__s16</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.__s32.html" title='libc::__s32 type'>__s32</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.__u8.html" title='libc::__u8 type'>__u8</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.__u16.html" title='libc::__u16 type'>__u16</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.__u32.html" title='libc::__u32 type'>__u32</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.__u64.html" title='libc::__u64 type'>__u64</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.blkcnt64_t.html" title='libc::blkcnt64_t type'>blkcnt64_t</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.blkcnt_t.html" title='libc::blkcnt_t type'>blkcnt_t</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.blksize_t.html" title='libc::blksize_t type'>blksize_t</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.c_char.html" title='libc::c_char type'>c_char</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="type" href="type.c_double.html" title='libc::c_double type'>c_double</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td>
|