mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
*** empty log message ***
This commit is contained in:
1 parent
79e2f2c1f9
commit
fa871415f9
1 file changed
+21
@@ -0,0 +1,21 @@
|
||||
#if HAVE_FCNTL_H
|
||||
# include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#ifndef AT_FDCWD
|
||||
/* FIXME: use the same value Solaris uses */
|
||||
# define AT_FDCWD -999
|
||||
|
||||
# ifdef __OPENAT_PREFIX
|
||||
# undef openat
|
||||
# define __OPENAT_CONCAT(x, y) x ## y
|
||||
# define __OPENAT_XCONCAT(x, y) __OPENAT_CONCAT (x, y)
|
||||
# define __OPENAT_ID(y) __OPENAT_XCONCAT (__OPENAT_PREFIX, y)
|
||||
# define openat __OPENAT_ID (openat)
|
||||
/* FIXME: use proper prototype */
|
||||
#if 0
|
||||
int openat (int fd, char const *filename, int flags, /* mode_t mode */ ...);
|
||||
#endif
|
||||
int openat (int fd, char const *filename, int flags);
|
||||
# endif
|
||||
#endif
|
||||
Reference in new issue
Block a user