Module Name: src Committed By: njoly Date: Wed Oct 9 09:38:21 UTC 2013
Modified Files: src/include: unistd.h src/sys/sys: stat.h Log Message: 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 To generate a diff of this commit: cvs rdiff -u -r1.138 -r1.139 src/include/unistd.h cvs rdiff -u -r1.66 -r1.67 src/sys/sys/stat.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/include/unistd.h diff -u src/include/unistd.h:1.138 src/include/unistd.h:1.139 --- src/include/unistd.h:1.138 Sat Jan 12 17:17:26 2013 +++ src/include/unistd.h Wed Oct 9 09:38:21 2013 @@ -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 @@ ssize_t pwrite(int, const void *, size_ 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 *); Index: src/sys/sys/stat.h diff -u src/sys/sys/stat.h:1.66 src/sys/sys/stat.h:1.67 --- src/sys/sys/stat.h:1.66 Sun Apr 7 18:47:06 2013 +++ src/sys/sys/stat.h Wed Oct 9 09:38:21 2013 @@ -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 @@ int lchmod(const char *, mode_t); */ #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