Re: [PATCH 1/2] system_data_types.7: Add off64_t to system_data_types(7)
From: Michael Kerrisk (man-pages) <hidden>
Date: 2021-01-01 22:33:18
Hi Alex, On 12/31/20 8:14 PM, Alejandro Colomar wrote:
Signed-off-by: Alejandro Colomar <redacted>
Thanks. Patch applied. Cheers, Michael
quoted hunk ↗ jump to hunk
--- man7/system_data_types.7 | 44 ++++++++++++++++++++++++++++++++++------ 1 file changed, 38 insertions(+), 6 deletions(-)diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index d2a271a3b..7f3309517 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7@@ -726,6 +726,38 @@ C99 and later; POSIX.1-2001 and later. .IR "See also" : .BR lldiv (3) .RE +.\"------------------------------------- off64_t ----------------------/ +.TP +.I off64_t +.RS +.IR Include : +.IR <sys/types.h> . +.PP +Used for file sizes. +It is a 64-bit signed integer type. +.PP +.IR "Conforming to" : +Present in glibc. +It is not standardized by the C language standard nor POSIX. +.PP +.IR Notes : +The feature test macro +.B _LARGEFILE64_SOURCE +has to be defined for this type to be available. +.PP +.IR "See also" : +.BR copy_file_range (2), +.BR readahead (2), +.BR sync_file_range (2), +.BR lseek64 (3), +.BR feature_test_macros (7) +.PP +See also the +.\" .I loff_t +.\" and +.I off_t +type in this page. +.RE .\"------------------------------------- off_t ------------------------/ .TP .I off_t@@ -775,12 +807,12 @@ the width of this type can be controlled with the feature test macro .BR lockf (3), .BR posix_fallocate (3), .BR feature_test_macros (7) -.\".PP TODO: loff_t, off64_t -.\"See also the -.\".I loff_t -.\"and -.\".I off64_t -.\"types in this page. +.PP +See also the +.\" .I loff_t +.\" and +.I off64_t +type in this page. .RE .\"------------------------------------- pid_t ------------------------/ .TP
-- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/