aboutsummaryrefslogtreecommitdiff
path: root/libc/types/os/arch/posix01/struct.stat.html
blob: c95ce45336d2b4e7d636b51a0bcf266e8166c4a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!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 `stat` struct in crate `libc`.">
    <meta name="keywords" content="rust, rustlang, rust-lang, stat">

    <title>libc::types::os::arch::posix01::stat - Rust</title>

    <link rel="stylesheet" type="text/css" href="../../../../../main.css">

    <link rel="shortcut icon" href="https://doc.rust-lang.org/favicon.ico">
    
</head>
<body class="rustdoc">
    <!--[if lte IE 8]>
    <div class="warning">
        This old browser is unsupported and will most likely display funky
        things.
    </div>
    <![endif]-->

    

    <section class="sidebar">
        <a href='../../../../../libc/index.html'><img src='http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png' alt='' width='100'></a>
        <p class='location'><a href='../../../../index.html'>libc</a>::<wbr><a href='../../../index.html'>types</a>::<wbr><a href='../../index.html'>os</a>::<wbr><a href='../index.html'>arch</a>::<wbr><a href='index.html'>posix01</a></p><script>window.sidebarCurrent = {name: 'stat', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script>
    </section>

    <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 struct">
<h1 class='fqn'><span class='in-band'>Struct <a href='../../../../index.html'>libc</a>::<wbr><a href='../../../index.html'>types</a>::<wbr><a href='../../index.html'>os</a>::<wbr><a href='../index.html'>arch</a>::<wbr><a href='index.html'>posix01</a>::<wbr><a class='struct' href=''>stat</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'>&#x2212;</span>]
            </a>
        </span><a id='src-1211' class='srclink' href='../../../../../src/libc/lib.rs.html#681-700' title='goto source code'>[src]</a></span></h1>
<pre class='rust struct'>pub struct stat {
    pub st_dev: <a class='type' href='../../../../../libc/types/os/arch/posix88/type.dev_t.html' title='libc::types::os::arch::posix88::dev_t'>dev_t</a>,
    pub st_ino: <a class='type' href='../../../../../libc/types/os/arch/posix88/type.ino_t.html' title='libc::types::os::arch::posix88::ino_t'>ino_t</a>,
    pub st_nlink: <a class='type' href='../../../../../libc/types/os/arch/posix01/type.nlink_t.html' title='libc::types::os::arch::posix01::nlink_t'>nlink_t</a>,
    pub st_mode: <a class='type' href='../../../../../libc/types/os/arch/posix88/type.mode_t.html' title='libc::types::os::arch::posix88::mode_t'>mode_t</a>,
    pub st_uid: <a class='type' href='../../../../../libc/types/os/arch/posix88/type.uid_t.html' title='libc::types::os::arch::posix88::uid_t'>uid_t</a>,
    pub st_gid: <a class='type' href='../../../../../libc/types/os/arch/posix88/type.gid_t.html' title='libc::types::os::arch::posix88::gid_t'>gid_t</a>,
    pub __pad0: <a class='type' href='../../../../../libc/types/os/arch/c95/type.c_int.html' title='libc::types::os::arch::c95::c_int'>c_int</a>,
    pub st_rdev: <a class='type' href='../../../../../libc/types/os/arch/posix88/type.dev_t.html' title='libc::types::os::arch::posix88::dev_t'>dev_t</a>,
    pub st_size: <a class='type' href='../../../../../libc/types/os/arch/posix88/type.off_t.html' title='libc::types::os::arch::posix88::off_t'>off_t</a>,
    pub st_blksize: <a class='type' href='../../../../../libc/types/os/arch/posix01/type.blksize_t.html' title='libc::types::os::arch::posix01::blksize_t'>blksize_t</a>,
    pub st_blocks: <a class='type' href='../../../../../libc/types/os/arch/posix01/type.blkcnt_t.html' title='libc::types::os::arch::posix01::blkcnt_t'>blkcnt_t</a>,
    pub st_atime: <a class='type' href='../../../../../libc/types/os/arch/c95/type.time_t.html' title='libc::types::os::arch::c95::time_t'>time_t</a>,
    pub st_atime_nsec: <a class='type' href='../../../../../libc/types/os/arch/c95/type.c_long.html' title='libc::types::os::arch::c95::c_long'>c_long</a>,
    pub st_mtime: <a class='type' href='../../../../../libc/types/os/arch/c95/type.time_t.html' title='libc::types::os::arch::c95::time_t'>time_t</a>,
    pub st_mtime_nsec: <a class='type' href='../../../../../libc/types/os/arch/c95/type.c_long.html' title='libc::types::os::arch::c95::c_long'>c_long</a>,
    pub st_ctime: <a class='type' href='../../../../../libc/types/os/arch/c95/type.time_t.html' title='libc::types::os::arch::c95::time_t'>time_t</a>,
    pub st_ctime_nsec: <a class='type' href='../../../../../libc/types/os/arch/c95/type.c_long.html' title='libc::types::os::arch::c95::c_long'>c_long</a>,
    pub __unused: <a href='http://doc.rust-lang.org/nightly/std/primitive.array.html'>[<a class='type' href='../../../../../libc/types/os/arch/c95/type.c_long.html' title='libc::types::os::arch::c95::c_long'>c_long</a>; 3]</a>,
}</pre><h2 class='fields'>Fields</h2>
<table><tr class='stab '>
                                  <td id='structfield.st_dev'><code>st_dev</code></td><td></td></tr><tr class='stab '>
                                  <td id='structfield.st_ino'><code>st_ino</code></td><td></td></tr><tr class='stab '>
                                  <td id='structfield.st_nlink'><code>st_nlink</code></td><td></td></tr><tr class='stab '>
                                  <td id='structfield.st_mode'><code>st_mode</code></td><td></td></tr><tr class='stab '>
                                  <td id='structfield.st_uid'><code>st_uid</code></td><td></td></tr><tr class='stab '>
                                  <td id='structfield.st_gid'><code>st_gid</code></td><td></td></tr><tr class='stab '>
                                  <td id='structfield.__pad0'><code>__pad0</code></td><td></td></tr><tr class='stab '>
                                  <td id='structfield.st_rdev'><code>st_rdev</code></td><td></td></tr><tr class='stab '>
                                  <td id='structfield.st_size'><code>st_size</code></td><td></td></tr><tr class='stab '>
                                  <td id='structfield.st_blksize'><code>st_blksize</code></td><td></td></tr><tr class='stab '>
                                  <td id='structfield.st_blocks'><code>st_blocks</code></td><td></td></tr><tr class='stab '>
                                  <td id='structfield.st_atime'><code>st_atime</code></td><td></td></tr><tr class='stab '>
                                  <td id='structfield.st_atime_nsec'><code>st_atime_nsec</code></td><td></td></tr><tr class='stab '>
                                  <td id='structfield.st_mtime'><code>st_mtime</code></td><td></td></tr><tr class='stab '>
                                  <td id='structfield.st_mtime_nsec'><code>st_mtime_nsec</code></td><td></td></tr><tr class='stab '>
                                  <td id='structfield.st_ctime'><code>st_ctime</code></td><td></td></tr><tr class='stab '>
                                  <td id='structfield.st_ctime_nsec'><code>st_ctime_nsec</code></td><td></td></tr><tr class='stab '>
                                  <td id='structfield.__unused'><code>__unused</code></td><td></td></tr></table><h2 id='implementations'>Trait Implementations</h2><h3 id='derived_implementations'>Derived Implementations </h3><h3 class='impl'><code>impl <a class='trait' href='http://doc.rust-lang.org/nightly/core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> for <a class='struct' href='../../../../../libc/types/os/arch/posix01/struct.stat.html' title='libc::types::os::arch::posix01::stat'>stat</a></code></h3><div class='impl-items'><h4 id='method.clone' class='method'><code>fn <a href='http://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class='struct' href='../../../../../libc/types/os/arch/posix01/struct.stat.html' title='libc::types::os::arch::posix01::stat'>stat</a></code></h4>
<h4 id='method.clone_from' class='method'><code>fn <a href='http://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: &amp;Self)</code></h4>
</div><h3 class='impl'><code>impl <a class='trait' href='http://doc.rust-lang.org/nightly/core/marker/trait.Copy.html' title='core::marker::Copy'>Copy</a> for <a class='struct' href='../../../../../libc/types/os/arch/posix01/struct.stat.html' title='libc::types::os::arch::posix01::stat'>stat</a></code></h3><div class='impl-items'></div></section>
    <section id='search' class="content hidden"></section>

    <section class="footer"></section>

    <div id="help" class="hidden">
        <div class="shortcuts">
            <h1>Keyboard shortcuts</h1>
            <dl>
                <dt>?</dt>
                <dd>Show this help dialog</dd>
                <dt>S</dt>
                <dd>Focus the search field</dd>
                <dt>&larrb;</dt>
                <dd>Move up in search results</dd>
                <dt>&rarrb;</dt>
                <dd>Move down in search results</dd>
                <dt>&#9166;</dt>
                <dd>Go to active search result</dd>
            </dl>
        </div>
        <div class="infos">
            <h1>Search tricks</h1>
            <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>typedef</code> (or
                <code>tdef</code>).
            </p>
            <p>
                Search functions by type signature (e.g.
                <code>vec -> usize</code>)
            </p>
        </div>
    </div>

    

    <script>
        window.rootPath = "../../../../../";
        window.currentCrate = "libc";
        window.playgroundUrl = "http://play.rust-lang.org/";
    </script>
    <script src="../../../../../jquery.js"></script>
    <script src="../../../../../main.js"></script>
    <script src="../../../../../playpen.js"></script>
    <script async src="../../../../../search-index.js"></script>
</body>
</html>