authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-12-14 16:18:50-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-12-23 22:15:09-08:00
logf82e7dfbc0374945e8e00884a7ae40743cdf25da
tree0348c0a89f57832346878d2305f1b66e6ff8cdb6
parent1925e0319f1337b4856bd5a181bf4f6d3ac7d428

std.os.linux: move statx docs to proper location


1 files changed, 3 insertions(+), 5 deletions(-)

lib/std/os/linux.zig+3-5
......@@ -6891,10 +6891,6 @@ pub const utsname = extern struct {
68916891};
68926892pub const HOST_NAME_MAX = 64;
68936893
6894/// Flags used to request specific members in `Statx` be filled out.
6895/// The `Statx.mask` member will be updated with what information the kernel
6896/// returned. Callers must check this field since support varies by kernel
6897/// version and filesystem.
68986894pub const STATX = packed struct(u32) {
68996895 /// Want `mode & S.IFMT`.
69006896 TYPE: bool = false,
......@@ -6982,7 +6978,9 @@ pub const statx_timestamp = extern struct {
69826978
69836979/// Renamed to `Statx` to not conflict with the `statx` function.
69846980pub const Statx = extern struct {
6985 /// Mask of bits indicating filled fields.
6981 /// Mask of bits indicating filled fields. Updated with what information
6982 /// the kernel returned. Callers must check this field since support varies
6983 /// by kernel version and filesystem.
69866984 mask: STATX,
69876985 /// Block size for filesystem I/O.
69886986 blksize: u32,