We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d80ea77 commit 2d57f93Copy full SHA for 2d57f93
src/fcntl.rs
@@ -122,7 +122,10 @@ libc_bitflags!(
122
target_os = "redox"))]
123
#[cfg_attr(docsrs, doc(cfg(all())))]
124
O_FSYNC;
125
- /// Allow files whose sizes can't be represented in an `off_t` to be opened.
+ /// On 32-bit Linux, O_LARGEFILE allows the use of file
126
+ /// offsets greater than 32 bits. Nix accepts the flag for
127
+ /// compatibility, but always opens files in large file mode
128
+ /// even if it isn't specified.
129
#[cfg(any(target_os = "android", target_os = "linux"))]
130
131
O_LARGEFILE;
0 commit comments