Must #include <sys/types.h> to use these functions.

This commit is contained in:
jtc 1993-12-15 17:40:20 +00:00
parent 0477eb4598
commit 8ee12398cc
2 changed files with 4 additions and 2 deletions

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)mkdir.2 6.7 (Berkeley) 3/10/91
.\" $Id: mkdir.2,v 1.4 1993/11/29 21:25:21 jtc Exp $
.\" $Id: mkdir.2,v 1.5 1993/12/15 17:40:20 jtc Exp $
.\"
.Dd March 10, 1991
.Dt MKDIR 2
@ -39,6 +39,7 @@
.Nm mkdir
.Nd make a directory file
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/stat.h>
.Ft int
.Fn mkdir "const char *path" "mode_t mode"

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)mkfifo.2 6.4 (Berkeley) 7/23/91
.\" $Id: mkfifo.2,v 1.3 1993/11/29 21:25:22 jtc Exp $
.\" $Id: mkfifo.2,v 1.4 1993/12/15 17:40:23 jtc Exp $
.\"
.Dd July 23, 1991
.Dt MKFIFO 2
@ -39,6 +39,7 @@
.Nm mkfifo
.Nd make a fifo file
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/stat.h>
.Ft int
.Fn mkfifo "const char *path" "mode_t mode"