mirror of https://github.com/mkerrisk/man-pages
system_data_types.7: Add further POSIX details for size_t, ssize_t, and suseconds_t
The implementation shall support one or more programming environments where these types are no wider than 'long'. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
8e331675f3
commit
b383f33581
|
@ -458,6 +458,12 @@ According to the C language standard,
|
||||||
it shall be an unsigned integer type
|
it shall be an unsigned integer type
|
||||||
capable of storing values in the range [0,
|
capable of storing values in the range [0,
|
||||||
.BR SIZE_MAX ].
|
.BR SIZE_MAX ].
|
||||||
|
According to POSIX,
|
||||||
|
the implementation shall support one or more programming environments
|
||||||
|
where the width of
|
||||||
|
.I size_t
|
||||||
|
is no greater than the width of the type
|
||||||
|
.IR long .
|
||||||
.IP
|
.IP
|
||||||
The length modifier for
|
The length modifier for
|
||||||
.I size_t
|
.I size_t
|
||||||
|
@ -533,7 +539,12 @@ or
|
||||||
Used for a count of bytes or an error indication.
|
Used for a count of bytes or an error indication.
|
||||||
According to POSIX, it shall be a signed integer type
|
According to POSIX, it shall be a signed integer type
|
||||||
capable of storing values at least in the range [-1,
|
capable of storing values at least in the range [-1,
|
||||||
.BR SSIZE_MAX ].
|
.BR SSIZE_MAX ],
|
||||||
|
and the implementation shall support one or more programming environments
|
||||||
|
where the width of
|
||||||
|
.I ssize_t
|
||||||
|
is no greater than the width of the type
|
||||||
|
.IR long .
|
||||||
.IP
|
.IP
|
||||||
Glibc and most other implementations provide a length modifier for
|
Glibc and most other implementations provide a length modifier for
|
||||||
.I ssize_t
|
.I ssize_t
|
||||||
|
@ -589,7 +600,12 @@ or
|
||||||
.IP
|
.IP
|
||||||
Used for time in microseconds.
|
Used for time in microseconds.
|
||||||
According to POSIX, it shall be a signed integer type
|
According to POSIX, it shall be a signed integer type
|
||||||
capable of storing values at least in the range [-1, 1000000].
|
capable of storing values at least in the range [-1, 1000000],
|
||||||
|
iand the implementation shall support one or more programming environments
|
||||||
|
where the width of
|
||||||
|
.I suseconds_t
|
||||||
|
is no greater than the width of the type
|
||||||
|
.IR long .
|
||||||
.IP
|
.IP
|
||||||
Conforming to: POSIX.1-2001 and later.
|
Conforming to: POSIX.1-2001 and later.
|
||||||
.IP
|
.IP
|
||||||
|
|
Loading…
Reference in New Issue