diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-12-14 16:18:50 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-12-23 22:15:09 -0800 |
| commit | f82e7dfbc0374945e8e00884a7ae40743cdf25da (patch) | |
| tree | 0348c0a89f57832346878d2305f1b66e6ff8cdb6 /lib/std | |
| parent | 1925e0319f1337b4856bd5a181bf4f6d3ac7d428 (diff) | |
| download | zig-f82e7dfbc0374945e8e00884a7ae40743cdf25da.tar.gz zig-f82e7dfbc0374945e8e00884a7ae40743cdf25da.zip | |
std.os.linux: move statx docs to proper location
Diffstat (limited to 'lib/std')
| -rw-r--r-- | lib/std/os/linux.zig | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/std/os/linux.zig b/lib/std/os/linux.zig index c8e9180dbf..cd12b13773 100644 --- a/lib/std/os/linux.zig +++ b/lib/std/os/linux.zig @@ -6891,10 +6891,6 @@ pub const utsname = extern struct { }; pub const HOST_NAME_MAX = 64; -/// Flags used to request specific members in `Statx` be filled out. -/// The `Statx.mask` member will be updated with what information the kernel -/// returned. Callers must check this field since support varies by kernel -/// version and filesystem. pub const STATX = packed struct(u32) { /// Want `mode & S.IFMT`. TYPE: bool = false, @@ -6982,7 +6978,9 @@ pub const statx_timestamp = extern struct { /// Renamed to `Statx` to not conflict with the `statx` function. pub const Statx = extern struct { - /// Mask of bits indicating filled fields. + /// Mask of bits indicating filled fields. Updated with what information + /// the kernel returned. Callers must check this field since support varies + /// by kernel version and filesystem. mask: STATX, /// Block size for filesystem I/O. blksize: u32, |
