diff options
author | das <das@FreeBSD.org> | 2009-03-04 03:33:21 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2009-03-04 03:33:21 +0000 |
commit | 40cb57e44ebefc7049ca738b55723388e0ac4ba9 (patch) | |
tree | bb8e21d132ad1a715288dbe4e27e308eff9f83d5 | |
parent | 8dcc83a1d4116213cc0c5df1b7a162c6730a30e3 (diff) | |
download | FreeBSD-src-40cb57e44ebefc7049ca738b55723388e0ac4ba9.zip FreeBSD-src-40cb57e44ebefc7049ca738b55723388e0ac4ba9.tar.gz |
Add openat to the POSIX.1-2008 namespace.
-rw-r--r-- | sys/sys/fcntl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/fcntl.h b/sys/sys/fcntl.h index c3cbc51..6e69d5d 100644 --- a/sys/sys/fcntl.h +++ b/sys/sys/fcntl.h @@ -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 |