mirror of https://github.com/mkerrisk/man-pages
fcntl.2: Remove unused include
I couldn't find a reason for including <unistd.h>. All the macros used by fcntl() are defined in <fcntl.h>. For comparison, FreeBSD and OpenBSD don't specify <unistd.h> in their manual pages. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
f6ecadcba1
commit
af2ea7fdbb
|
@ -69,7 +69,6 @@
|
||||||
fcntl \- manipulate file descriptor
|
fcntl \- manipulate file descriptor
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <unistd.h>
|
|
||||||
.B #include <fcntl.h>
|
.B #include <fcntl.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "int fcntl(int " fd ", int " cmd ", ... /* " arg " */ );"
|
.BI "int fcntl(int " fd ", int " cmd ", ... /* " arg " */ );"
|
||||||
|
|
Loading…
Reference in New Issue