aboutsummaryrefslogtreecommitdiff
path: root/lib/std/fs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/fs')
-rw-r--r--lib/std/fs/file.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/std/fs/file.zig b/lib/std/fs/file.zig
index a6ecc37d92..1ba4bc18fd 100644
--- a/lib/std/fs/file.zig
+++ b/lib/std/fs/file.zig
@@ -179,7 +179,7 @@ pub const File = struct {
lock_nonblocking: bool = false,
/// For POSIX systems this is the file system mode the file will
- /// be created with.
+ /// be created with. On other systems this is always 0.
mode: Mode = default_mode,
/// Setting this to `.blocking` prevents `O.NONBLOCK` from being passed even
@@ -307,6 +307,7 @@ pub const File = struct {
/// is unique to each filesystem.
inode: INode,
size: u64,
+ /// This is available on POSIX systems and is always 0 otherwise.
mode: Mode,
kind: Kind,