mirror of https://github.com/mkerrisk/man-pages
system_data_types.7: Add 'off_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
f5506505da
commit
a0321d70b7
|
@ -629,6 +629,56 @@ C99 and later; POSIX.1-2001 and later.
|
||||||
See also:
|
See also:
|
||||||
.BR lldiv (3)
|
.BR lldiv (3)
|
||||||
.RE
|
.RE
|
||||||
|
.\"------------------------------------- off_t ------------------------/
|
||||||
|
.TP
|
||||||
|
.I off_t
|
||||||
|
.RS
|
||||||
|
Include:
|
||||||
|
.IR <sys/types.h> .
|
||||||
|
Alternatively,
|
||||||
|
.IR <aio.h> ,
|
||||||
|
.IR <fcntl.h> ,
|
||||||
|
.IR <stdio.h> ,
|
||||||
|
.IR <sys/mman.h> ,
|
||||||
|
.IR <sys/stat.h.h> ,
|
||||||
|
or
|
||||||
|
.IR <unistd.h> .
|
||||||
|
.PP
|
||||||
|
Used for file sizes.
|
||||||
|
According to POSIX,
|
||||||
|
this shall be a signed integer type.
|
||||||
|
.PP
|
||||||
|
Versions:
|
||||||
|
.I <aio.h>
|
||||||
|
and
|
||||||
|
.I <stdio.h>
|
||||||
|
define
|
||||||
|
.I off_t
|
||||||
|
since POSIX.1-2008.
|
||||||
|
.PP
|
||||||
|
Conforming to:
|
||||||
|
POSIX.1-2001 and later.
|
||||||
|
.PP
|
||||||
|
See also:
|
||||||
|
.BR fallocate (2),
|
||||||
|
.BR lseek (2),
|
||||||
|
.BR mmap (2),
|
||||||
|
.BR mmap2 (2),
|
||||||
|
.BR posix_fadvise (2),
|
||||||
|
.BR pread (2),
|
||||||
|
.BR preadv (2),
|
||||||
|
.BR truncate (2),
|
||||||
|
.BR fseeko (3),
|
||||||
|
.BR getdirentries (3),
|
||||||
|
.BR lockf (3),
|
||||||
|
.BR posix_fallocate (3)
|
||||||
|
.\".PP TODO: loff_t, off64_t
|
||||||
|
.\"See also the
|
||||||
|
.\".I loff_t
|
||||||
|
.\"and
|
||||||
|
.\".I off64_t
|
||||||
|
.\"types in this page.
|
||||||
|
.RE
|
||||||
.\"------------------------------------- pid_t ------------------------/
|
.\"------------------------------------- pid_t ------------------------/
|
||||||
.TP
|
.TP
|
||||||
.I pid_t
|
.I pid_t
|
||||||
|
|
Loading…
Reference in New Issue