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 Namespace

FALLOC

Public Namespace
std.os.linux.FALLOC
pub const FALLOC = struct

Values

  • pub const FL_KEEP_SIZE

    Default is extend size

  • pub const FL_PUNCH_HOLE

    De-allocates range

  • pub const FL_NO_HIDE_STALE

    Reserved codepoint

  • pub const FL_COLLAPSE_RANGE

    Removes a range of a file without leaving a hole in the file

  • pub const FL_ZERO_RANGE

    Converts a range of file to zeros preferably without issuing data IO

  • pub const FL_INSERT_RANGE

    Inserts space within the file size without overwriting any existing data

  • pub const FL_UNSHARE_RANGE

    Unshares shared blocks within the file size without overwriting any existing data

File

os/linux.zig:4231
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
pub const FALLOC = struct {
    /// Default is extend size
    pub const FL_KEEP_SIZE = 0x01;

    /// De-allocates range
    pub const FL_PUNCH_HOLE = 0x02;

    /// Reserved codepoint
    pub const FL_NO_HIDE_STALE = 0x04;

    /// Removes a range of a file without leaving a hole in the file
    pub const FL_COLLAPSE_RANGE = 0x08;

    /// Converts a range of file to zeros preferably without issuing data IO
    pub const FL_ZERO_RANGE = 0x10;

    /// Inserts space within the file size without overwriting any existing data
    pub const FL_INSERT_RANGE = 0x20;

    /// Unshares shared blocks within the file size without overwriting any existing data
    pub const FL_UNSHARE_RANGE = 0x40;
}