summaryrefslogtreecommitdiff
path: root/lib/libc/sys/mknod.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/mknod.2')
-rw-r--r--lib/libc/sys/mknod.25
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/sys/mknod.2 b/lib/libc/sys/mknod.2
index da3f52893e0..f3174508cdb 100644
--- a/lib/libc/sys/mknod.2
+++ b/lib/libc/sys/mknod.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mknod.2,v 1.16 2013/03/31 05:07:55 guenther Exp $
+.\" $OpenBSD: mknod.2,v 1.17 2013/04/01 20:16:31 guenther Exp $
.\" $NetBSD: mknod.2,v 1.6 1995/02/27 12:34:33 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)mknod.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: March 31 2013 $
+.Dd $Mdocdate: April 1 2013 $
.Dt MKNOD 2
.Os
.Sh NAME
@@ -41,6 +41,7 @@
.Fd #include <sys/stat.h>
.Ft int
.Fn mknod "const char *path" "mode_t mode" "dev_t dev"
+.Fd #include <sys/stat.h>
.Fd #include <fcntl.h>
.Ft int
.Fn mknodat "int fd" "const char *path" "mode_t mode" "dev_t dev"