Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Follow OpenGroup online specification[1], move
details: https://anonhg.NetBSD.org/src/rev/8e34a15198a2
branches: trunk
changeset: 790435:8e34a15198a2
user: njoly <njoly%NetBSD.org@localhost>
date: Wed Oct 09 09:38:21 2013 +0000
description:
Follow OpenGroup online specification[1], move
fchmodat/mkdirat/mkfifoat/mknodat prototypes to <sys.stat.h>.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_stat.h.html
diffstat:
include/unistd.h | 6 +-----
sys/sys/stat.h | 6 +++++-
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (42 lines):
diff -r 1c5905cb8bd1 -r 8e34a15198a2 include/unistd.h
--- a/include/unistd.h Wed Oct 09 01:28:33 2013 +0000
+++ b/include/unistd.h Wed Oct 09 09:38:21 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: unistd.h,v 1.138 2013/01/12 17:17:26 dholland Exp $ */
+/* $NetBSD: unistd.h,v 1.139 2013/10/09 09:38:21 njoly Exp $ */
/*-
* Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
@@ -298,11 +298,7 @@
defined(_INCOMPLETE_XOPEN_C063) || defined(_NETBSD_SOURCE)
int linkat(int, const char *, int, const char *, int);
int renameat(int, const char *, int, const char *);
-int mkfifoat(int, const char *, mode_t);
-int mknodat(int, const char *, mode_t, uint32_t);
-int mkdirat(int, const char *, mode_t);
int faccessat(int, const char *, int, int);
-int fchmodat(int, const char *, mode_t, int);
int fchownat(int, const char *, uid_t, gid_t, int);
int readlinkat(int, const char *, char *, size_t);
int symlinkat(const char *, int, const char *);
diff -r 1c5905cb8bd1 -r 8e34a15198a2 sys/sys/stat.h
--- a/sys/sys/stat.h Wed Oct 09 01:28:33 2013 +0000
+++ b/sys/sys/stat.h Wed Oct 09 09:38:21 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: stat.h,v 1.66 2013/04/07 18:47:06 christos Exp $ */
+/* $NetBSD: stat.h,v 1.67 2013/10/09 09:38:21 njoly Exp $ */
/*-
* Copyright (c) 1982, 1986, 1989, 1993
@@ -274,7 +274,11 @@
*/
#if (_POSIX_C_SOURCE - 0) >= 200809L || (_XOPEN_SOURCE - 0) >= 700 || \
defined(_NETBSD_SOURCE) || defined(_INCOMPLETE_XOPEN_C063)
+int fchmodat(int, const char *, mode_t, int);
int fstatat(int, const char *, struct stat *, int);
+int mkdirat(int, const char *, mode_t);
+int mkfifoat(int, const char *, mode_t);
+int mknodat(int, const char *, mode_t, uint32_t);
int utimensat(int, const char *, const struct timespec *, int);
#endif
Home |
Main Index |
Thread Index |
Old Index