Tell user to #include <fcntl.h>.

This commit is contained in:
jtc 1993-12-15 17:36:23 +00:00
parent ee123e4b36
commit 1b7c71cc45
2 changed files with 4 additions and 2 deletions

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" from: @(#)creat.2 6.10 (Berkeley) 6/23/91 .\" from: @(#)creat.2 6.10 (Berkeley) 6/23/91
.\" $Id: creat.2,v 1.4 1993/11/25 02:48:32 jtc Exp $ .\" $Id: creat.2,v 1.5 1993/12/15 17:36:23 jtc Exp $
.\" .\"
.Dd June 23, 1991 .Dd June 23, 1991
.Dt CREAT 2 .Dt CREAT 2
@ -39,6 +39,7 @@
.Nm creat .Nm creat
.Nd create a new file .Nd create a new file
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <fcntl.h>
.Fn creat "char *path" "mode_t mode" .Fn creat "char *path" "mode_t mode"
.Sh DESCRIPTION .Sh DESCRIPTION
.Bf -symbolic .Bf -symbolic

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" from: @(#)creat.2 6.10 (Berkeley) 6/23/91 .\" from: @(#)creat.2 6.10 (Berkeley) 6/23/91
.\" $Id: creat.3,v 1.4 1993/11/25 02:48:32 jtc Exp $ .\" $Id: creat.3,v 1.5 1993/12/15 17:36:23 jtc Exp $
.\" .\"
.Dd June 23, 1991 .Dd June 23, 1991
.Dt CREAT 2 .Dt CREAT 2
@ -39,6 +39,7 @@
.Nm creat .Nm creat
.Nd create a new file .Nd create a new file
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <fcntl.h>
.Fn creat "char *path" "mode_t mode" .Fn creat "char *path" "mode_t mode"
.Sh DESCRIPTION .Sh DESCRIPTION
.Bf -symbolic .Bf -symbolic