mirror of https://github.com/mkerrisk/man-pages
system_data_types.7: Document ptrdiff_t
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
dd06f85245
commit
515348d543
|
@ -62,6 +62,27 @@ system_data_types \- overview of system data types
|
||||||
.\"
|
.\"
|
||||||
.\" * See also
|
.\" * See also
|
||||||
.TP
|
.TP
|
||||||
|
.I ptrdiff_t
|
||||||
|
.IP
|
||||||
|
Include:
|
||||||
|
.I <stddef.h>.
|
||||||
|
.IP
|
||||||
|
Used for a count of elements, and array indices.
|
||||||
|
It is the result of subtracting two pointers.
|
||||||
|
According to the C language standard, it shall be a signed integer type
|
||||||
|
capable of storing values in the range
|
||||||
|
.BR "" [ PTRDIFF_MIN ,
|
||||||
|
.BR PTRDIFF_MAX ].
|
||||||
|
.IP
|
||||||
|
Conforming to: C99 and later; POSIX.1-2001 and later.
|
||||||
|
.IP
|
||||||
|
See also the
|
||||||
|
.\".I regoff_t , FIXME: uncomment when regoff_t is documented.
|
||||||
|
.I size_t
|
||||||
|
and
|
||||||
|
.I ssize_t
|
||||||
|
types in this page.
|
||||||
|
.TP
|
||||||
.I sigval
|
.I sigval
|
||||||
.IP
|
.IP
|
||||||
Include:
|
Include:
|
||||||
|
@ -224,8 +245,10 @@ See also:
|
||||||
.BR write (2)
|
.BR write (2)
|
||||||
.IP
|
.IP
|
||||||
See also the
|
See also the
|
||||||
|
.I ptrdiff_t
|
||||||
|
and
|
||||||
.I size_t
|
.I size_t
|
||||||
type in this page.
|
types in this page.
|
||||||
.TP
|
.TP
|
||||||
.I suseconds_t
|
.I suseconds_t
|
||||||
.IP
|
.IP
|
||||||
|
|
Loading…
Reference in New Issue