mirror of https://github.com/mkerrisk/man-pages
truncate.2: Remove <sys/types.h>
'off_t', which is the only reason this might have been ever needed, is provided by <unistd.h> since POSIX.1-2001. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
d96a43d419
commit
321752842f
|
@ -46,7 +46,6 @@ truncate, ftruncate \- truncate a file to a specified length
|
|||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <unistd.h>
|
||||
.B #include <sys/types.h>
|
||||
.PP
|
||||
.BI "int truncate(const char *" path ", off_t " length );
|
||||
.BI "int ftruncate(int " fd ", off_t " length );
|
||||
|
|
Loading…
Reference in New Issue