fstatat
int fstatat(int, const char *, struct stat *, int);
if (fstatat(dfd, filename, &pre_lstat,
if (fstatat(dfd, filename, &pre_stat, 0) < 0) {
if (fstatat(fd, NULL, &post_lstat,
if (fstatat(fd, NULL, &post_stat, 0) < 0) {
if (fstatat(parentfd, attrname, &st,
#define LSTAT(dir, path, statbuf) fstatat(dir, \
#define STAT(dir, path, statbuf) fstatat(dir, \
if (fstatat(dirfd, dp->d_name, &sb,
if (fstatat(dirfd, dp->d_name,
i = fstatat(curfd, curname, &stb, 0);
j = fstatat(curfd, curname, &stb1, AT_SYMLINK_NOFOLLOW);
i = fstatat(curfd, curname, &stb, AT_SYMLINK_NOFOLLOW);
if (fstatat(caller->fd, entry, &temp, AT_SYMLINK_NOFOLLOW) != 0) {
if (fstatat(frmp->fd, "..", &up, 0) != 0) {
static int fstatat();
j = fstatat(dirfd, shortname, &sbuf, AT_SYMLINK_NOFOLLOW);
newfile = ((fstatat(dirfd, comp,
i = fstatat(dirfd, shortname, &stbuf, AT_SYMLINK_NOFOLLOW);
i = fstatat(dirfd, shortname, &stbuf, 0);
j = fstatat(dirfd, shortname,
if (fstatat(devfd, entryx.ut_line, &stat_arg, 0) < 0) {
if (fstatat(devfd, rutmpx->ut_line, &stat_db, 0) < 0)
if (fstatat(file->ff_dirfd, name, &first, AT_SYMLINK_NOFOLLOW) != 0)
fstatat(ff->ff_dirfd, newname, st, AT_SYMLINK_NOFOLLOW) != 0)
fstatat(ff->ff_dirfd, newname, st, AT_SYMLINK_NOFOLLOW) != 0)
fstatat(ff->ff_dirfd, newname, st, AT_SYMLINK_NOFOLLOW) != 0)
fstatat(ff->ff_dirfd, newname, st, AT_SYMLINK_NOFOLLOW) != 0)
return (fstatat(dirfd(file->ff_dir), name, st, AT_SYMLINK_NOFOLLOW));
if (fstatat(file->ff_dirfd, file->ff_name, &cst, AT_SYMLINK_NOFOLLOW) != 0)
if (fstatat(file->ff_dirfd, file->ff_name, &st,
if (fstatat(file->ff_dirfd, succ, &st, AT_SYMLINK_NOFOLLOW) < 0)
if (fstatat(file->ff_dirfd, next, &st, AT_SYMLINK_NOFOLLOW) < 0) {
if (fstatat(file->ff_dirfd, file->ff_name, &st,
if (fstatat(file->ff_dirfd, file->ff_name, &cst,
if (fstatat(f2ff->ff_dirfd, f2ff->ff_name, &npst,
if (fstatat(file->ff_dirfd, file->ff_name, &st, AT_SYMLINK_NOFOLLOW)) {
if (fstatat(file->ff_dirfd, file->ff_name, &st, AT_SYMLINK_NOFOLLOW)) {
if (fstatat(dirf->ff_dirfd, dirf->ff_name, &tdst, AT_SYMLINK_NOFOLLOW) != 0 ||
fstatat(file->ff_dirfd, file->ff_name, &fst, AT_SYMLINK_NOFOLLOW) != 0)
if (fstatat(off->ff_dirfd, onb, &fst, AT_SYMLINK_NOFOLLOW) != 0)
if (fstatat(off->ff_dirfd, off->ff_name, &odst, AT_SYMLINK_NOFOLLOW) != 0)
if (fstatat(nff->ff_dirfd, nff->ff_name, &ndst, AT_SYMLINK_NOFOLLOW) != 0)
if (fstatat(dirff->ff_dirfd, newname, &fst, AT_SYMLINK_NOFOLLOW) != 0 ||
fstatat(dirff->ff_dirfd, dirff->ff_name, &dirst, AT_SYMLINK_NOFOLLOW) != 0)
if (fstatat(ff->ff_dirfd, path, st, AT_SYMLINK_NOFOLLOW) != 0)
if (fstatat(dirf->ff_dirfd, dirf->ff_name, st,
rc = fstatat(AT_FDCWD, path, statp, sym);
rc = fstatat(fd, unrootp, statp, sym);
if (fstatat(dfd, path, sbp, 0)) {
if (!fstatat(dfd, path, sbp, AT_SYMLINK_NOFOLLOW)) {
} else if (fstatat(dfd, path, sbp, AT_SYMLINK_NOFOLLOW)) {
return (fstatat(AT_FDCWD, path, statp, flags));
return (fstatat(AT_FDCWD, path, statp,
return (fstatat(fd, basepath, statp, flags));
return (fstatat(fd, basepath, statp, flags | AT_SYMLINK_NOFOLLOW));
return (fstatat(AT_FDCWD, name, sb, AT_SYMLINK_NOFOLLOW));
return (fstatat(fd, NULL, sb, 0));
return (fstatat(AT_FDCWD, name, sb, 0));
if (fstatat(dfd, name, &st, AT_SYMLINK_NOFOLLOW) == -1)
err = fstatat(dfd, name, &st, AT_SYMLINK_NOFOLLOW);
if (fstatat(from_dfd, from_name, &st,
if (fstatat(rootfd, path_name(p), &sb,
const int res = fstatat(dfd, name, &st, AT_SYMLINK_NOFOLLOW);
int fstatat(int, char *, struct stat *, int);
/* 66 */ SYSENT_CI("fstatat", fstatat, 4),
#define fstatat64 fstatat
return (fstatat(AT_FDCWD, name, sb, 0));
return (fstatat(AT_FDCWD, name, sb, AT_SYMLINK_NOFOLLOW));
extern int fstatat(int, const char *, struct stat *, int);
extern int fstatat();
extern int fstatat(int, const char *, struct stat *, int);
extern int fstatat();