Skip to contentSkip to conversation

system_data_types.7: Add 'blkcnt_t'

PATCH In review Alejandro Colomar 2 participants 9 messages May 23, 2021 – Jun 9, 2021 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/8 system_data_types.7: Add 'blkcnt_t'

---
 man7/system_data_types.7 | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
man7/system_data_types.7 +19 -0
index ddabefd16..fc9893e41 100644
@@ -85,6 +85,25 @@ POSIX.1-2001 and later.
 .BR aio_write (3),
 .BR lio_listio (3)
 .RE
+.\"------------------------------------- blkcnt_t ---------------------/
+.TP
+.I blkcnt_t
+.RS
+.IR Include :
+.IR <sys/types.h> .
+Alternatively,
+.IR <sys/stat.h> .
+.PP
+Used for file block counts.
+According to POSIX,
+it shall be a signed integer type.
+.PP
+.IR "Conforming to" :
+POSIX.1-2001 and later.
+.PP
+.IR "See also" :
+.BR stat (2)
+.RE
 .\"------------------------------------- clock_t ----------------------/
 .TP
 .I clock_t
Signature · 1 line
2.31.1
#1 lore raw

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

---
 man3/blkcnt_t.3 | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 man3/blkcnt_t.3
man3/blkcnt_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.31.1
#2 lore raw

PATCH 3/8 system_data_types.7: Add 'cc_t'

In reply to Alejandro Colomar
---
 man7/system_data_types.7 | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
man7/system_data_types.7 +17 -0
index fc9893e41..c8e6961da 100644
@@ -104,6 +104,23 @@ POSIX.1-2001 and later.
 .IR "See also" :
 .BR stat (2)
 .RE
+.\"------------------------------------- cc_t -------------------------/
+.TP
+.I cc_t
+.RS
+.IR Include :
+.IR <termios.h> .
+.PP
+Used for terminal special characters.
+According to POSIX,
+it shall be an unsigned integer type.
+.PP
+.IR "Conforming to" :
+POSIX.1-2001 and later.
+.PP
+.IR "See also" :
+.BR termios (3)
+.RE
 .\"------------------------------------- clock_t ----------------------/
 .TP
 .I clock_t
Signature · 1 line
2.31.1
#4 lore raw

PATCH 5/8 system_data_types.7: Add 'blksize_t'

In reply to Alejandro Colomar
---
 man7/system_data_types.7 | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
man7/system_data_types.7 +19 -0
index c8e6961da..7544ef25f 100644
@@ -104,6 +104,25 @@ POSIX.1-2001 and later.
 .IR "See also" :
 .BR stat (2)
 .RE
+.\"------------------------------------- blksize_t --------------------/
+.TP
+.I blksize_t
+.RS
+.IR Include :
+.IR <sys/types.h> .
+Alternatively,
+.IR <sys/stat.h> .
+.PP
+Used for file block sizes.
+According to POSIX,
+it shall be a signed integer type.
+.PP
+.IR "Conforming to" :
+POSIX.1-2001 and later.
+.PP
+.IR "See also" :
+.BR stat (2)
+.RE
 .\"------------------------------------- cc_t -------------------------/
 .TP
 .I cc_t
Signature · 1 line
2.31.1
#6 lore raw

PATCH 7/8 system_data_types.7: Add 'mode_t'

In reply to Alejandro Colomar
---
 man7/system_data_types.7 | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
man7/system_data_types.7 +29 -0
index 7544ef25f..6f6f8a095 100644
@@ -781,6 +781,35 @@ C99 and later; POSIX.1-2001 and later.
 .IR "See also" :
 .BR lldiv (3)
 .RE
+.\"------------------------------------- mode_t -----------------------/
+.TP
+.I mode_t
+.RS
+.IR Include :
+.IR <sys/types.h> .
+Alternatively,
+.IR <fcntl.h> ,
+.IR <ndbm.h> ,
+.IR <spawn.h> ,
+.IR <sys/ipc.h> ,
+.IR <sys/mman.h> ,
+or
+.IR <sys/stat.h> .
+.PP
+Used for some file attributes.
+According to POSIX,
+it shall be an integer type.
+.PP
+.IR "Conforming to" :
+POSIX.1-2001 and later.
+.PP
+.IR "See also" :
+.BR chmod (2),
+.BR mkdir (2),
+.BR open (2),
+.BR stat (2),
+.BR umask (2)
+.RE
 .\"------------------------------------- off64_t ----------------------/
 .TP
 .I off64_t
Signature · 1 line
2.31.1
#8 lore raw
In reply to Alejandro Colomar

Hello Alex,

Quoted 1 line · Alejandro Colomar

Thanks. I've applied all 8 patches in this series.

Cheers,

Michael

Quoted 35 lines
---
 man7/system_data_types.7 | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
man7/system_data_types.7 +19 -0
index ddabefd16..fc9893e41 100644
@@ -85,6 +85,25 @@ POSIX.1-2001 and later.
 .BR aio_write (3),
 .BR lio_listio (3)
 .RE
+.\"------------------------------------- blkcnt_t ---------------------/
+.TP
+.I blkcnt_t
+.RS
+.IR Include :
+.IR <sys/types.h> .
+Alternatively,
+.IR <sys/stat.h> .
+.PP
+Used for file block counts.
+According to POSIX,
+it shall be a signed integer type.
+.PP
+.IR "Conforming to" :
+POSIX.1-2001 and later.
+.PP
+.IR "See also" :
+.BR stat (2)
+.RE
 .\"------------------------------------- clock_t ----------------------/
 .TP
 .I clock_t
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/