Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys Adjust needed includes for fchmodat/mkdirat/mkf...



details:   https://anonhg.NetBSD.org/src/rev/dbb526585a13
branches:  trunk
changeset: 790497:dbb526585a13
user:      njoly <njoly%NetBSD.org@localhost>
date:      Tue Oct 15 11:43:21 2013 +0000

description:
Adjust needed includes for fchmodat/mkdirat/mkfifoat/mknodat/fstatat
syscalls.

diffstat:

 lib/libc/sys/chmod.2  |  3 ++-
 lib/libc/sys/mkdir.2  |  4 +++-
 lib/libc/sys/mkfifo.2 |  4 +++-
 lib/libc/sys/mknod.2  |  4 +++-
 lib/libc/sys/stat.2   |  4 +++-
 5 files changed, 14 insertions(+), 5 deletions(-)

diffs (89 lines):

diff -r 5a4e58e45914 -r dbb526585a13 lib/libc/sys/chmod.2
--- a/lib/libc/sys/chmod.2      Tue Oct 15 11:22:58 2013 +0000
+++ b/lib/libc/sys/chmod.2      Tue Oct 15 11:43:21 2013 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: chmod.2,v 1.46 2013/07/29 19:18:37 njoly Exp $
+.\"    $NetBSD: chmod.2,v 1.47 2013/10/15 11:43:21 njoly Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -48,6 +48,7 @@
 .Fn lchmod "const char *path" "mode_t mode"
 .Ft int
 .Fn fchmod "int fd" "mode_t mode"
+.In sys/stat.h
 .In fcntl.h
 .Ft int
 .Fn fchmodat "int fd" "const char *path" "mode_t mode" "int flag"
diff -r 5a4e58e45914 -r dbb526585a13 lib/libc/sys/mkdir.2
--- a/lib/libc/sys/mkdir.2      Tue Oct 15 11:22:58 2013 +0000
+++ b/lib/libc/sys/mkdir.2      Tue Oct 15 11:43:21 2013 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: mkdir.2,v 1.28 2013/07/28 14:38:25 njoly Exp $
+.\"    $NetBSD: mkdir.2,v 1.29 2013/10/15 11:43:21 njoly Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -42,6 +42,8 @@
 .In sys/stat.h
 .Ft int
 .Fn mkdir "const char *path" "mode_t mode"
+.In sys/stat.h
+.In fcntl.h
 .Ft int
 .Fn mkdirat "int fd" "const char *path" "mode_t mode"
 .Sh DESCRIPTION
diff -r 5a4e58e45914 -r dbb526585a13 lib/libc/sys/mkfifo.2
--- a/lib/libc/sys/mkfifo.2     Tue Oct 15 11:22:58 2013 +0000
+++ b/lib/libc/sys/mkfifo.2     Tue Oct 15 11:43:21 2013 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: mkfifo.2,v 1.26 2013/07/30 13:15:07 njoly Exp $
+.\"    $NetBSD: mkfifo.2,v 1.27 2013/10/15 11:43:21 njoly Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -42,6 +42,8 @@
 .In sys/stat.h
 .Ft int
 .Fn mkfifo "const char *path" "mode_t mode"
+.In sys/stat.h
+.In fcntl.h
 .Ft int
 .Fn mkfifoat "int fd" "const char *path" "mode_t mode"
 .Sh DESCRIPTION
diff -r 5a4e58e45914 -r dbb526585a13 lib/libc/sys/mknod.2
--- a/lib/libc/sys/mknod.2      Tue Oct 15 11:22:58 2013 +0000
+++ b/lib/libc/sys/mknod.2      Tue Oct 15 11:43:21 2013 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: mknod.2,v 1.27 2013/07/30 13:45:38 njoly Exp $
+.\"    $NetBSD: mknod.2,v 1.28 2013/10/15 11:43:21 njoly Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -42,6 +42,8 @@
 .In sys/stat.h
 .Ft int
 .Fn mknod "const char *path" "mode_t mode" "dev_t dev"
+.In sys/stat.h
+.In fcntl.h
 .Ft int
 .Fn mknodat "int fd" "const char *path" "mode_t mode" "dev_t dev"
 .Sh DESCRIPTION
diff -r 5a4e58e45914 -r dbb526585a13 lib/libc/sys/stat.2
--- a/lib/libc/sys/stat.2       Tue Oct 15 11:22:58 2013 +0000
+++ b/lib/libc/sys/stat.2       Tue Oct 15 11:43:21 2013 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: stat.2,v 1.55 2013/07/28 15:46:34 njoly Exp $
+.\"    $NetBSD: stat.2,v 1.56 2013/10/15 11:43:21 njoly Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -48,6 +48,8 @@
 .Fn lstat "const char *path" "struct stat *sb"
 .Ft int
 .Fn fstat "int fd" "struct stat *sb"
+.In sys/stat.h
+.In fcntl.h
 .Ft int
 .Fn fstatat "int fd" "const char *path" "struct stat *sb" "int flag"
 .Sh DESCRIPTION



Home | Main Index | Thread Index | Old Index