Skip to contentSkip to conversation

system_data_types.7: Add off64_t to system_data_types(7)

PATCH In review Alejandro Colomar 2 participants 4 messages Dec 31, 2020 – Jan 1, 2021 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 system_data_types.7: Add off64_t to system_data_types(7)

---
 man7/system_data_types.7 | 44 ++++++++++++++++++++++++++++++++++------
 1 file changed, 38 insertions(+), 6 deletions(-)
man7/system_data_types.7 +38 -6
index d2a271a3b..7f3309517 100644
@@ -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
Signature · 1 line
2.29.2
#1 lore raw

PATCH 2/2 off64_t.3: New link to system_data_types(7)

---
 man3/off64_t.3 | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 man3/off64_t.3
man3/off64_t.3 new file +1 -0
new file mode 100644
index 000000000..db50c0f09
@@ -0,0 +1 @@
+.so man7/system_data_types.7
Signature · 1 line
2.29.2
#2 lore raw

Re: [PATCH 2/2] off64_t.3: New link to system_data_types(7)

Quoted 1 line · Alejandro Colomar

Thanks, Alex. Patch applied.

Cheers,

Michael

Quoted 13 lines
---
 man3/off64_t.3 | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 man3/off64_t.3
man3/off64_t.3 new file +1 -0
new file mode 100644
index 000000000..db50c0f09
@@ -0,0 +1 @@
+.so man7/system_data_types.7
Signature · 3 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
#3 lore raw
In reply to Alejandro Colomar

Hi Alex,

Quoted 1 line · Alejandro Colomar

Thanks. Patch applied.

Cheers,

Michael

Quoted 67 lines
---
 man7/system_data_types.7 | 44 ++++++++++++++++++++++++++++++++++------
 1 file changed, 38 insertions(+), 6 deletions(-)
man7/system_data_types.7 +38 -6
index d2a271a3b..7f3309517 100644
@@ -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
Signature · 3 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/