Re: [PATCH] system_data_types.7: struct stat: describe blkcnt_t and blksize_t

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx>
---
  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: OpenPGP_signature
Description: OpenPGP digital signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux