Home
last modified time | relevance | path

Searched refs:fstatat (Results 1 – 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/lib/libc/port/sys/
H A Dstat.c77 #pragma weak _fstatat = fstatat
79 fstatat(int fd, const char *name, struct stat *sb, int flags) in fstatat() function
91 return (fstatat(AT_FDCWD, name, sb, 0)); in stat()
102 return (fstatat(AT_FDCWD, name, sb, AT_SYMLINK_NOFOLLOW)); in lstat()
113 return (fstatat(fd, NULL, sb, 0)); in fstat()
/illumos-gate/usr/src/uts/sparc/sys/
H A Dstat_impl.h49 extern int fstatat(int, const char *, struct stat *, int);
63 extern int fstatat();
/illumos-gate/usr/src/uts/intel/sys/
H A Dstat_impl.h50 extern int fstatat(int, const char *, struct stat *, int);
65 extern int fstatat();
/illumos-gate/usr/src/uts/common/sys/
H A Dstat.h164 #pragma redefine_extname fstatat fstatat64
175 #define fstatat fstatat64
193 #pragma redefine_extname fstatat64 fstatat
203 #define fstatat64 fstatat
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnftw.c119 #define fstatat fstatat64 macro
615 return (fstatat(AT_FDCWD, path, statp, flags)); in cdstat()
625 return (fstatat(AT_FDCWD, path, statp, in cdlstat()
649 return (fstatat(fd, basepath, statp, flags)); in nocdstat()
672 return (fstatat(fd, basepath, statp, flags | AT_SYMLINK_NOFOLLOW)); in nocdlstat()
H A D_xftw.c328 rc = fstatat(AT_FDCWD, path, statp, sym); in nocdstat()
355 rc = fstatat(fd, unrootp, statp, sym); in nocdstat()
H A Dfts.c816 if (fstatat(dfd, path, sbp, 0)) { in fts_stat()
818 if (!fstatat(dfd, path, sbp, AT_SYMLINK_NOFOLLOW)) { in fts_stat()
825 } else if (fstatat(dfd, path, sbp, AT_SYMLINK_NOFOLLOW)) { in fts_stat()
/illumos-gate/usr/src/cmd/du/
H A Ddu.c311 i = fstatat(curfd, curname, &stb, 0); in descend()
312 j = fstatat(curfd, curname, &stb1, AT_SYMLINK_NOFOLLOW); in descend()
322 i = fstatat(curfd, curname, &stb, AT_SYMLINK_NOFOLLOW); in descend()
/illumos-gate/usr/src/man/man2/
H A DMakefile199 fstatat.2 \
393 fstatat.2 := LINKSRC = stat.2
/illumos-gate/usr/src/cmd/utmp_update/
H A Dutmp_update.c168 if (fstatat(devfd, entryx.ut_line, &stat_arg, 0) < 0) { in main()
182 if (fstatat(devfd, rutmpx->ut_line, &stat_db, 0) < 0) in main()
/illumos-gate/usr/src/cmd/backup/restore/
H A Dutilities.c583 if (fstatat(dfd, filename, &pre_lstat, in safe_open()
591 if (fstatat(dfd, filename, &pre_stat, 0) < 0) { in safe_open()
613 if (fstatat(fd, NULL, &post_lstat, in safe_open()
621 if (fstatat(fd, NULL, &post_stat, 0) < 0) { in safe_open()
/illumos-gate/usr/src/uts/common/syscall/
H A Dstat.c160 fstatat(int fd, char *name, struct stat *sb, int flags) in fstatat() function
179 return (fstatat(AT_FDCWD, name, sb, 0)); in stat()
185 return (fstatat(AT_FDCWD, name, sb, AT_SYMLINK_NOFOLLOW)); in lstat()
/illumos-gate/usr/src/cmd/rm/
H A Drm.c330 if (fstatat(caller->fd, entry, &temp, AT_SYMLINK_NOFOLLOW) != 0) { in rm()
593 if (fstatat(frmp->fd, "..", &up, 0) != 0) { in checkdir()
/illumos-gate/usr/src/uts/intel/os/
H A Dname_to_sysnum64 fstatat 66
/illumos-gate/usr/src/uts/sparc/os/
H A Dname_to_sysnum63 fstatat 66
/illumos-gate/usr/src/boot/sys/sys/
H A Dstat.h351 int fstatat(int, const char *, struct stat *, int);
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c439 if (fstatat(dvp->v_fd, name, &st, AT_SYMLINK_NOFOLLOW) == -1) in fop_lookup()
501 err = fstatat(dvp->v_fd, name, &st, AT_SYMLINK_NOFOLLOW); in fop_create()
615 if (fstatat(from_dvp->v_fd, from_name, &st, in fop_rename()
/illumos-gate/usr/src/cmd/sgs/rtld.4.x/
H A Drtldlib.s123 mov %g0, %o3 ! fstatat(fd, NULL, statb, 0)
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dcorenote.msg723 @ MSG_SYS_FSTATAT "[ fstatat ]" # 66
724 @ MSG_SYS_FSTATAT_ALT "fstatat"
/illumos-gate/usr/src/uts/common/os/
H A Dsysent.c137 int fstatat(int, char *, struct stat *, int);
519 /* 66 */ SYSENT_CI("fstatat", fstatat, 4),
/illumos-gate/usr/src/lib/c_synonyms/
H A Dsyn_common317 fstatat
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c105 static int fstatat();
1894 j = fstatat(dirfd, shortname, &sbuf, AT_SYMLINK_NOFOLLOW); in putfile()
3472 newfile = ((fstatat(dirfd, comp, in doxtract()
7754 i = fstatat(dirfd, shortname, &stbuf, AT_SYMLINK_NOFOLLOW); in getstat()
7756 i = fstatat(dirfd, shortname, &stbuf, 0); in getstat()
7769 j = fstatat(dirfd, shortname, in getstat()
8570 fstatat(int fd, char *path, struct stat *buf, int flag) in fstatat() function
/illumos-gate/usr/src/cmd/chmod/
H A Dchmod.c1012 if (fstatat(parentfd, attrname, &st, in set_named_attrs()
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-kernel.man2.inc194 link path=usr/share/man/man2/fstatat.2 target=stat.2
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c112 #define LSTAT(dir, path, statbuf) fstatat(dir, \
115 #define STAT(dir, path, statbuf) fstatat(dir, \
9374 if (fstatat(dirfd, dp->d_name, &sb, in preview_attrs()
9388 if (fstatat(dirfd, dp->d_name, in preview_attrs()
9726 fstatat(int fd, char *path, struct stat *buf, int flag) in fstatat() function

12