extern structstd.os.linux.fanotify.event_info_fid[src]

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).

Source Code

Source code
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,
}