* [PATCH] system_data_types.7: struct stat: describe blkcnt_t and blksize_t
@ 2022-06-15 14:57 наб
2022-06-15 15:50 ` Alejandro Colomar
0 siblings, 1 reply; 3+ messages in thread
From: наб @ 2022-06-15 14:57 UTC (permalink / raw)
To: Alejandro Colomar (man-pages); +Cc: linux-man
[-- Attachment #1: Type: text/plain, Size: 895 bytes --]
Per Issue 7, both are signed integers.
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
---
man7/system_data_types.7 | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index 23acc1393..785182134 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -668,6 +668,8 @@ it contains, without a terminating null byte.
.TP
.I st_blksize
This field gives the "preferred" block size for efficient filesystem I/O.
+.I blksize_t
+is a signed integer type.
.TP
.I st_blocks
This field indicates the number of blocks allocated to the file,
@@ -675,6 +677,8 @@ in 512-byte units.
(This may be smaller than
.IR st_size /512
when the file has holes.)
+.I blkcnt_t
+is a signed integer type.
.TP
.I st_atime
This is the time of the last access of file data.
--
2.30.2
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] system_data_types.7: struct stat: describe blkcnt_t and blksize_t
2022-06-15 14:57 [PATCH] system_data_types.7: struct stat: describe blkcnt_t and blksize_t наб
@ 2022-06-15 15:50 ` Alejandro Colomar
2022-06-15 15:53 ` Alejandro Colomar
0 siblings, 1 reply; 3+ messages in thread
From: Alejandro Colomar @ 2022-06-15 15:50 UTC (permalink / raw)
To: наб; +Cc: linux-man
[-- Attachment #1.1: Type: text/plain, Size: 1226 bytes --]
Hi, наб!
On 6/15/22 16:57, наб wrote:
> Per Issue 7, both are signed integers.
AFAIK, that's true since POSIX.1-2001. No need to go to Issue 7.
>
> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
> ---
> man7/system_data_types.7 | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
> index 23acc1393..785182134 100644
> --- a/man7/system_data_types.7
> +++ b/man7/system_data_types.7
> @@ -668,6 +668,8 @@ it contains, without a terminating null byte.
> .TP
> .I st_blksize
> This field gives the "preferred" block size for efficient filesystem I/O.
> +.I blksize_t
> +is a signed integer type.
That's covered in the 'blksize_t' entry.
> .TP
> .I st_blocks
> This field indicates the number of blocks allocated to the file,
> @@ -675,6 +677,8 @@ in 512-byte units.
> (This may be smaller than
> .IR st_size /512
> when the file has holes.)
> +.I blkcnt_t
> +is a signed integer type.
Same, in 'blkcnt_t'.
Cheers,
Alex
> .TP
> .I st_atime
> This is the time of the last access of file data.
--
Alejandro Colomar
<http://www.alejandro-colomar.es/>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] system_data_types.7: struct stat: describe blkcnt_t and blksize_t
2022-06-15 15:50 ` Alejandro Colomar
@ 2022-06-15 15:53 ` Alejandro Colomar
0 siblings, 0 replies; 3+ messages in thread
From: Alejandro Colomar @ 2022-06-15 15:53 UTC (permalink / raw)
To: наб; +Cc: linux-man
[-- Attachment #1.1: Type: text/plain, Size: 391 bytes --]
On 6/15/22 17:50, Alejandro Colomar wrote:
>> +.I blksize_t
>> +is a signed integer type.
>
> That's covered in the 'blksize_t' entry.
Sorry, I had a mix between /usr and /usr/local manual pages.
I moved it recently to a separate blksize_t(3type) page. And the same
is true for blkcnt_t(3type).
Cheers,
Alex
--
Alejandro Colomar
<http://www.alejandro-colomar.es/>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-06-15 15:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-15 14:57 [PATCH] system_data_types.7: struct stat: describe blkcnt_t and blksize_t наб
2022-06-15 15:50 ` Alejandro Colomar
2022-06-15 15:53 ` Alejandro Colomar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.