Added #include <sys/types.h> to synopsis.

Obtained from:	OpenBSD
This commit is contained in:
Alexander Langer 1998-01-20 03:52:49 +00:00
parent f17c00390e
commit 891d6e5881
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32637
2 changed files with 4 additions and 1 deletions

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" @(#)mkdir.2 8.2 (Berkeley) 12/11/93 .\" @(#)mkdir.2 8.2 (Berkeley) 12/11/93
.\" $Id$ .\" $Id: mkdir.2,v 1.6 1997/02/22 15:04:07 peter Exp $
.\" .\"
.Dd December 11, 1993 .Dd December 11, 1993
.Dt MKDIR 2 .Dt MKDIR 2
@ -39,6 +39,7 @@
.Nm mkdir .Nm mkdir
.Nd make a directory file .Nd make a directory file
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/stat.h> .Fd #include <sys/stat.h>
.Ft int .Ft int
.Fn mkdir "const char *path" "mode_t mode" .Fn mkdir "const char *path" "mode_t mode"

View File

@ -30,6 +30,7 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" @(#)mkfifo.2 8.1 (Berkeley) 6/4/93 .\" @(#)mkfifo.2 8.1 (Berkeley) 6/4/93
.\" $Id$
.\" .\"
.Dd June 4, 1993 .Dd June 4, 1993
.Dt MKFIFO 2 .Dt MKFIFO 2
@ -38,6 +39,7 @@
.Nm mkfifo .Nm mkfifo
.Nd make a fifo file .Nd make a fifo file
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/stat.h> .Fd #include <sys/stat.h>
.Ft int .Ft int
.Fn mkfifo "const char *path" "mode_t mode" .Fn mkfifo "const char *path" "mode_t mode"