diff options
Diffstat (limited to 'man2/open.2')
| -rw-r--r-- | man2/open.2 | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/man2/open.2 b/man2/open.2 index 499488eaf4..0dd111a798 100644 --- a/man2/open.2 +++ b/man2/open.2 @@ -209,6 +209,14 @@ Allow files whose sizes cannot be represented in an (but can be represented in an .IR off64_t ) to be opened. +The +.B _LARGEFILE64_SOURCE +macro must be defined in order to obtain this definition. +Setting the +.B _FILE_OFFSET_BITS +feature test macro to 64 is the preferred method of obtaining +this functionality (see +.BR feature_test_macros (7)).rd Bloch <blade@debian.org> .TP .B O_NOATIME (Since Linux 2.6.8) @@ -495,8 +503,8 @@ macro to get their definitions. .LP The (undefined) effect of .B O_RDONLY | O_TRUNC -varies among implementations. On many systems the file is actually -truncated. +varies among implementations. +On many systems the file is actually truncated. .\" Linux 2.0, 2.5: truncate .\" Solaris 5.7, 5.8: truncate .\" Irix 6.5: truncate |
