Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Struct

fdinfo

Public Struct
std.c.illumos.procfs.fdinfo
pub const fdinfo = extern struct

Fields

fd: fd_t
mode: mode_t
ino: ino_t
size: off_t
offset: off_t
uid: uid_t
gid: gid_t
dev_major: major_t
dev_minor: minor_t
special_major: major_t
special_minor: minor_t
fileflags: i32
fdflags: i32
locktype: i16
lockpid: pid_t
locksysid: i32
peerpid: pid_t
__filler: [25]c_int
peername: [15:0]u8
misc: [1]u8

File

c/illumos.zig:141
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
    pub const fdinfo = extern struct {
        fd: fd_t,
        mode: mode_t,
        ino: ino_t,
        size: off_t,
        offset: off_t,
        uid: uid_t,
        gid: gid_t,
        dev_major: major_t,
        dev_minor: minor_t,
        special_major: major_t,
        special_minor: minor_t,
        fileflags: i32,
        fdflags: i32,
        locktype: i16,
        lockpid: pid_t,
        locksysid: i32,
        peerpid: pid_t,
        __filler: [25]c_int,
        peername: [15:0]u8,
        misc: [1]u8,
    }