Tell user to #include <fcntl.h>, not <sys/fcntl.h> or <sys/file.h>.
This commit is contained in:
parent
1b7c71cc45
commit
0477eb4598
|
@ -30,7 +30,7 @@
|
|||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" from: @(#)fcntl.2 6.7 (Berkeley) 3/10/91
|
||||
.\" $Id: fcntl.2,v 1.3 1993/11/25 00:38:39 jtc Exp $
|
||||
.\" $Id: fcntl.2,v 1.4 1993/12/15 17:36:56 jtc Exp $
|
||||
.\"
|
||||
.Dd March 10, 1991
|
||||
.Dt FCNTL 2
|
||||
|
@ -39,7 +39,7 @@
|
|||
.Nm fcntl
|
||||
.Nd file control
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/fcntl.h>
|
||||
.Fd #include <fcntl.h>
|
||||
.Ft int
|
||||
.Fn fcntl "int fd" "int cmd" "int arg"
|
||||
.Sh DESCRIPTION
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" from: @(#)open.2 6.7 (Berkeley) 5/27/91
|
||||
.\" $Id: open.2,v 1.4 1993/12/01 18:51:26 jtc Exp $
|
||||
.\" $Id: open.2,v 1.5 1993/12/15 17:36:59 jtc Exp $
|
||||
.\"
|
||||
.Dd May 27, 1991
|
||||
.Dt OPEN 2
|
||||
|
@ -39,7 +39,7 @@
|
|||
.Nm open
|
||||
.Nd open or create a file for reading or writing
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/file.h>
|
||||
.Fd #include <fcntl.h>
|
||||
.Ft int
|
||||
.Fn open "const char *path" "int flags" "mode_t mode"
|
||||
.Sh DESCRIPTION
|
||||
|
|
Loading…
Reference in New Issue