svn commit: r189353 - head/sys/sys
David Schultz
das at FreeBSD.org
Tue Mar 3 19:33:22 PST 2009
Author: das
Date: Wed Mar 4 03:33:21 2009
New Revision: 189353
URL: http://svn.freebsd.org/changeset/base/189353
Log:
Add openat to the POSIX.1-2008 namespace.
Modified:
head/sys/sys/fcntl.h
Modified: head/sys/sys/fcntl.h
==============================================================================
--- head/sys/sys/fcntl.h Wed Mar 4 03:32:56 2009 (r189352)
+++ head/sys/sys/fcntl.h Wed Mar 4 03:33:21 2009 (r189353)
@@ -278,7 +278,9 @@ __BEGIN_DECLS
int open(const char *, int, ...);
int creat(const char *, mode_t);
int fcntl(int, int, ...);
+#if __BSD_VISIBLE || __POSIX_VISIBLE >= 200809
int openat(int, const char *, int, ...);
+#endif
#if __BSD_VISIBLE
int flock(int, int);
#endif
More information about the svn-src-all
mailing list