Searched refs:openat (Results 1 - 24 of 24) sorted by path

/haiku-fatelf/headers/build/
H A DBeOSBuildCompatibility.h173 # define openat(fd, path, openMode...) \ macro
/haiku-fatelf/headers/posix/
H A Dfcntl.h88 extern int openat(int fd, const char *path, int openMode, ...);
/haiku-fatelf/src/add-ons/kernel/file_systems/packagefs/
H A DPackage.cpp160 fFD = openat(fDomain->DirectoryFD(), fFileName, O_RDONLY);
/haiku-fatelf/src/bin/coreutils/
H A Dconfigure8980 gl_LIBOBJS="$gl_LIBOBJS openat-proc.$ac_objext"
9020 for ac_func in fchmodat fstatat mkdirat openat unlinkat
9067 gl_LIBOBJS="$gl_LIBOBJS openat.$ac_objext"
9095 HAVE_UNLINKAT=0 # No known system with unlinkat but not openat
9096 HAVE_FSTATAT=0 # No known system with fstatat but not openat
21097 gl_LIBOBJS="$gl_LIBOBJS openat-proc.$ac_objext"
22919 gl_LIBOBJS="$gl_LIBOBJS openat-proc.$ac_objext"
22959 for ac_func in fchmodat fstatat mkdirat openat unlinkat
23006 gl_LIBOBJS="$gl_LIBOBJS openat.$ac_objext"
23034 HAVE_UNLINKAT=0 # No known system with unlinkat but not openat
[all...]
/haiku-fatelf/src/bin/coreutils/lib/
H A Dchdir-long.c35 /* The results of openat() in this file are not leaked to any
74 int new_fd = openat (cdb->fd, dir,
97 on manageable portions of the name. On systems without the openat
H A Dfcntl--.h30 # undef openat macro
31 # define openat openat_safer macro
H A Dfcntl.h133 # undef openat macro
134 # define openat rpl_openat macro
137 extern int openat (int fd, char const *file, int flags, /* mode_t mode */ ...)
141 # undef openat macro
142 # define openat \ macro
143 (GL_LINK_WARNING ("openat is not portable - " \
144 "use gnulib module openat for portability"), \
145 openat)
H A Dfcntl.in.h94 # undef openat
95 # define openat rpl_openat
98 extern int openat (int fd, char const *file, int flags, /* mode_t mode */ ...)
102 # undef openat
103 # define openat \
104 (GL_LINK_WARNING ("openat is not portable - " \
105 "use gnulib module openat for portability"), \
106 openat)
H A Dfts.c74 /* FIXME - use fcntl(F_DUPFD_CLOEXEC)/openat(O_CLOEXEC) once they are
77 # include "openat.h"
176 /* If this host provides the openat function, then we can avoid
297 /* FIXME: if others need this function, move it into lib/openat.c */
302 int new_fd = openat (fd, dir,
361 ? openat (sp->fts_cwd_fd, dir, open_flags)
419 on systems like Linux+PROC_FS, where our openat emulation
421 openat via /proc, this technique can still fail, but
426 FIXME: once Linux kernel openat support is well established,
1660 int parent_fd = openat (cwd_f
[all...]
H A Dgetcwd.c30 /* If this host provides the openat function, then enable
148 Use the system getcwd even if we have openat support, since the
150 openat-based approach does not. */
204 fd = openat (fd, "..", O_RDONLY);
H A Dgnulib.mk738 EXTRA_DIST += fdopendir.c openat-priv.h openat-proc.c
740 EXTRA_libcoreutils_a_SOURCES += fdopendir.c openat-proc.c
2239 ## begin gnulib module openat
2242 EXTRA_DIST += at-func.c fchmodat.c fchownat.c fstatat.c mkdirat.c openat-priv.h openat-proc.c openat.c openat.h unlinkat.c
2244 EXTRA_libcoreutils_a_SOURCES += at-func.c fchmodat.c fchownat.c fstatat.c mkdirat.c openat-proc.c openat
[all...]
H A Dopenat-safer.c1 /* Invoke openat, but avoid some glitches.
18 /* Written by Paul Eggert for open, ported by Eric Blake for openat. */
45 return fd_safer (openat (fd, file, flags, mode));
H A Dopenat.c1 /* provide a replacement openat function
21 #include "openat.h"
29 #include "openat-priv.h"
34 # undef openat macro
36 /* Like openat, but work around Solaris 9 bugs with trailing slash. */
89 fd = openat (dfd, filename, flags, mode);
127 /* Replacement for Solaris' openat function.
128 <http://www.google.com/search?q=openat+site:docs.sun.com>
133 Otherwise, upon failure, set errno and return -1, as openat does.
136 openat (in function
[all...]
H A Dopenat.h1 /* provide a replacement openat function
49 openat (Fd, File, Flags, Mode)
/haiku-fatelf/src/bin/coreutils/src/
H A Dchown-core.c208 fd = openat (cwd_fd, file, O_RDONLY | open_flags);
211 && 0 <= (fd = openat (cwd_fd, file, O_WRONLY | open_flags)))))
H A Dsystem.h302 #include "openat.h"
335 int fd = openat (fd_cwd, dir,
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dchdir-long.c31 #include "openat.h"
71 int new_fd = openat (cdb->fd, dir,
94 on manageable portions of the name. On systems without the openat
H A Dgetcwd.c152 Use the system getcwd even if we have openat support, since the
154 openat-based approach does not. */
208 fd = openat (fd, "..", O_RDONLY);
H A Dopenat.c1 /* provide a replacement openat function
21 #include "openat.h"
29 #include "openat-priv.h"
32 /* Replacement for Solaris' openat function.
33 <http://www.google.com/search?q=openat+site:docs.sun.com>
38 Otherwise, upon failure, set errno and return -1, as openat does.
41 openat (int fd, char const *file, int flags, ...) function
63 /* Like openat (FD, FILE, FLAGS, MODE), but if CWD_ERRNO is
134 /* Return true if our openat implementation must resort to
H A Dopenat.h1 /* provide a replacement openat function
61 # undef openat macro
65 # define openat __OPENAT_ID (openat) macro
66 int openat (int fd, char const *file, int flags, /* mode_t mode */ ...);
82 openat (Fd, File, Flags, Mode)
/haiku-fatelf/src/bin/package/
H A Dcommand_extract.cpp375 fd = openat(parentFD, entryName, O_RDWR | O_CREAT | O_EXCL,
433 fd = openat(parentFD, entryName, O_RDONLY | O_NOTRAVERSE);
/haiku-fatelf/src/build/libroot/
H A Dfunction_remapper.cpp239 openat(int fd, const char* path, int openMode, ...) function
241 HIDDEN_FUNCTION(openat);
/haiku-fatelf/src/kits/package/hpkg/
H A DPackageWriterImpl.cpp958 fd = openat(dirFD, fileName,
1560 fd = openat(dirFD, fileName,
/haiku-fatelf/src/system/libroot/posix/
H A Dfcntl.cpp48 openat(int fd, const char *path, int openMode, ...) function

Completed in 193 milliseconds