summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/chmod.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/chmod.2')
-rw-r--r--lib/libc/sys/chmod.25
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/sys/chmod.2 b/lib/libc/sys/chmod.2
index d098579753e..6821f5df14a 100644
--- a/lib/libc/sys/chmod.2
+++ b/lib/libc/sys/chmod.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chmod.2,v 1.21 2013/03/31 05:07:55 guenther Exp $
+.\" $OpenBSD: chmod.2,v 1.22 2013/04/01 20:16:31 guenther Exp $
.\" $NetBSD: chmod.2,v 1.7 1995/02/27 12:32:06 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)chmod.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: March 31 2013 $
+.Dd $Mdocdate: April 1 2013 $
.Dt CHMOD 2
.Os
.Sh NAME
@@ -44,6 +44,7 @@
.Fn chmod "const char *path" "mode_t mode"
.Ft int
.Fn fchmod "int fd" "mode_t mode"
+.Fd #include <sys/stat.h>
.Fd #include <fcntl.h>
.Ft int
.Fn fchmodat "int fd" "const char *path" "mode_t mode" "int flag"