[2/6] system_data_types.7: off_t: Add note about _FILE_OFFSET_BITS

Message ID 20201027162114.47521-3-colomar.6.4.3@gmail.com
State Not applicable
Headers
Series Add loff_t & off64_t, and update off_t |

Commit Message

Alejandro Colomar Oct. 27, 2020, 4:21 p.m. UTC
  Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
---
 man7/system_data_types.7 | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
  

Comments

Michael Kerrisk \(man-pages\) Oct. 27, 2020, 4:36 p.m. UTC | #1
Applied!

On 10/27/20 5:21 PM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
> ---
>  man7/system_data_types.7 | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
> index c02782ed8..e846de68b 100644
> --- a/man7/system_data_types.7
> +++ b/man7/system_data_types.7
> @@ -756,6 +756,11 @@ since POSIX.1-2008.
>  .IR "Conforming to" :
>  POSIX.1-2001 and later.
>  .PP
> +.IR Notes :
> +On some architectures,
> +the width of this type can be controlled with the feature test macro
> +.BR _FILE_OFFSET_BITS .
> +.PP
>  .IR "See also" :
>  .\" .BR fallocate (2),
>  .BR lseek (2),
> @@ -768,7 +773,8 @@ POSIX.1-2001 and later.
>  .BR fseeko (3),
>  .\" .BR getdirentries (3),
>  .BR lockf (3),
> -.BR posix_fallocate (3)
> +.BR posix_fallocate (3),
> +.BR feature_test_macros (7)
>  .PP
>  See also the
>  .I loff_t
>
  

Patch

diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index c02782ed8..e846de68b 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -756,6 +756,11 @@  since POSIX.1-2008.
 .IR "Conforming to" :
 POSIX.1-2001 and later.
 .PP
+.IR Notes :
+On some architectures,
+the width of this type can be controlled with the feature test macro
+.BR _FILE_OFFSET_BITS .
+.PP
 .IR "See also" :
 .\" .BR fallocate (2),
 .BR lseek (2),
@@ -768,7 +773,8 @@  POSIX.1-2001 and later.
 .BR fseeko (3),
 .\" .BR getdirentries (3),
 .BR lockf (3),
-.BR posix_fallocate (3)
+.BR posix_fallocate (3),
+.BR feature_test_macros (7)
 .PP
 See also the
 .I loff_t