Date: Wed, 4 Mar 2009 03:33:21 +0000 (UTC) From: David Schultz <das@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r189353 - head/sys/sys Message-ID: <200903040333.n243XLuv030551@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903040333.n243XLuv030551>