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

event_info_fid

Public Struct
std.os.linux.fanotify.event_info_fid
pub const event_info_fid = extern struct

Unique file identifier info record.

This structure is used for records of types EVENT_INFO_TYPE.FID. EVENT_INFO_TYPE.DFID and EVENT_INFO_TYPE.DFID_NAME.

For EVENT_INFO_TYPE.DFID_NAME there is additionally a null terminated name immediately after the file handle.

Fields

hdr: event_info_header
fsid: kernel_fsid_t
handle: [0]u8

Following is an opaque struct file_handle that can be passed as an argument to open_by_handle_at(2).

File

os/linux.zig:6556
6556
6557
6558
6559
6560
6561
6562
    pub const event_info_fid = extern struct {
        hdr: event_info_header,
        fsid: kernel_fsid_t,
        /// Following is an opaque struct file_handle that can be passed as
        /// an argument to open_by_handle_at(2).
        handle: [0]u8,
    }