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 {...@@ -6891,10 +6891,6 @@ pub const utsname = extern struct {
6891};6891};
6892pub const HOST_NAME_MAX = 64;6892pub 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.
6898pub const STATX = packed struct(u32) {6894pub const STATX = packed struct(u32) {
6899 /// Want `mode & S.IFMT`.6895 /// Want `mode & S.IFMT`.
6900 TYPE: bool = false,6896 TYPE: bool = false,
...@@ -6982,7 +6978,9 @@ pub const statx_timestamp = extern struct {...@@ -6982,7 +6978,9 @@ pub const statx_timestamp = extern struct {
69826978
6983/// Renamed to `Statx` to not conflict with the `statx` function.6979/// Renamed to `Statx` to not conflict with the `statx` function.
6984pub const Statx = extern struct {6980pub 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.
6986 mask: STATX,6984 mask: STATX,
6987 /// Block size for filesystem I/O.6985 /// Block size for filesystem I/O.
6988 blksize: u32,6986 blksize: u32,