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:
Alejandro Colomar 2021-06-12 10:31:36 +02:00 committed by Michael Kerrisk
parent d96a43d419
commit 321752842f
1 changed files with 0 additions and 1 deletions

View File

@ -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 );