Home
last modified time | relevance | path

Searched refs:AT_FDCWD (Results 1 – 25 of 82) sorted by relevance

1234

/glibc-2.36/stdio-common/
Dtst-renameat2.c98 TEST_COMPARE (renameat2 (AT_FDCWD, old_path, AT_FDCWD, new_path, flags), 0); in rename_without_existing_target()
104 TEST_COMPARE (renameat2 (directory_fd, "old", AT_FDCWD, new_path, flags), 0); in rename_without_existing_target()
128 TEST_COMPARE (renameat2 (AT_FDCWD, old_path, AT_FDCWD, new_path, 0), 0); in do_test()
136 if (renameat2 (AT_FDCWD, old_path, AT_FDCWD, new_path, RENAME_NOREPLACE) in do_test()
153 TEST_COMPARE (renameat2 (AT_FDCWD, old_path, AT_FDCWD, new_path, in do_test()
162 TEST_COMPARE (renameat2 (directory_fd, "old", AT_FDCWD, new_path, in do_test()
Drenameat.c27 if ((oldfd < 0 && oldfd != AT_FDCWD) || (newfd < 0 && newfd != AT_FDCWD)) in __renameat()
/glibc-2.36/sysdeps/unix/sysv/linux/
Dtst-mount.c60 TEST_COMPARE (move_mount (-1, "", AT_FDCWD, "/tmp", 0), -1); in do_test()
63 int r = move_mount (mfd, "", AT_FDCWD, "/tmp", MOVE_MOUNT_F_EMPTY_PATH); in do_test()
67 TEST_COMPARE (fspick (AT_FDCWD, "", 0), -1); in do_test()
70 int pfd = fspick (AT_FDCWD, "/tmp", FSPICK_CLOEXEC); in do_test()
74 TEST_COMPARE (open_tree (AT_FDCWD, "", 0), -1); in do_test()
76 int fd_tree = open_tree (AT_FDCWD, "/tmp", in do_test()
Drename.c31 return INLINE_SYSCALL_CALL (renameat, AT_FDCWD, old, AT_FDCWD, new); in rename()
33 return INLINE_SYSCALL_CALL (renameat2, AT_FDCWD, old, AT_FDCWD, new, 0); in rename()
Dlxstat64.c54 return INLINE_SYSCALL_CALL (newfstatat, AT_FDCWD, name, buf, in ___lxstat64()
61 int r = INLINE_SYSCALL_CALL (statx, AT_FDCWD, name, in ___lxstat64()
74 return INLINE_SYSCALL_CALL (fstatat64, AT_FDCWD, name, buf, in ___lxstat64()
Dxstat64.c54 return INLINE_SYSCALL_CALL (newfstatat, AT_FDCWD, name, buf, 0); in ___xstat64()
60 int r = INLINE_SYSCALL_CALL (statx, AT_FDCWD, name, AT_NO_AUTOMOUNT, in ___xstat64()
72 return INLINE_SYSCALL_CALL (fstatat64, AT_FDCWD, name, buf, 0); in ___xstat64()
Dstat.c27 return __fstatat (AT_FDCWD, file, buf, 0); in __stat()
/glibc-2.36/io/
Dtst-open-tmpfile.c55 int ret = openat (AT_FDCWD, path, flags, mode); in wrap_openat()
83 int ret = openat64 (AT_FDCWD, path, flags, mode); in wrap_openat64()
187 path_fd = AT_FDCWD; in check_wrapper_flags_mode()
204 if (linkat (AT_FDCWD, proc_fd_path, path_fd, new_name, in check_wrapper_flags_mode()
226 if (path_fd != AT_FDCWD) in check_wrapper_flags_mode()
263 int fd = openat (AT_FDCWD, path, O_TMPFILE | O_RDWR, 0); in probe_path()
Dlinkat.c34 if ((tofd != AT_FDCWD && tofd < 0 && *to != '/') in linkat()
35 || (fromfd != AT_FDCWD && fromfd < 0 && *from != '/')) in linkat()
Dtst-lchmod.c48 TEST_COMPARE (fd, AT_FDCWD); in fchmodat_with_lchmod()
75 TEST_VERIFY_EXIT (utimensat (AT_FDCWD, fname, ts, flags) == 0); in update_file_time_to_y2038()
101 fd = AT_FDCWD; in test_1()
Dtst-statx.c73 TEST_COMPARE (statx (AT_FDCWD, path, 0, STATX_BASIC_STATS, &buf), 0); in both_implementations_tests()
88 TEST_COMPARE (statx (AT_FDCWD, "/dev/null", 0, STATX_BASIC_STATS, &stx), in both_implementations_tests()
Dlchmod.c26 return fchmodat (AT_FDCWD, file, mode, AT_SYMLINK_NOFOLLOW); in lchmod()
Dstat.c23 return __fstatat (AT_FDCWD, file, buf, 0); in __stat()
Dlstat.c23 return __fstatat (AT_FDCWD, file, buf, AT_SYMLINK_NOFOLLOW); in __lstat()
/glibc-2.36/support/
Dsupport_path_support_time64.c35 return syscall (__NR_utimensat_time64, AT_FDCWD, path, &tsp[0], 0); in utimesat_call()
45 TEST_VERIFY_EXIT (statx (AT_FDCWD, path, 0, STATX_BASIC_STATS, &ostx) == 0); in support_path_support_time64_value()
56 TEST_VERIFY_EXIT (statx (AT_FDCWD, path, 0, STATX_BASIC_STATS, &stx) == 0); in support_path_support_time64_value()
Dsupport_stat_nanoseconds.c40 TEST_VERIFY_EXIT (utimensat (AT_FDCWD, path, tsp, 0) == 0); in support_stat_nanoseconds()
54 TEST_VERIFY_EXIT (utimensat (AT_FDCWD, path, otsp, 0) == 0); in support_stat_nanoseconds()
/glibc-2.36/hurd/
Dlookup-at.c39 if (fd == AT_FDCWD || file_name[0] == '/') in __file_name_lookup_at()
83 if (fd == AT_FDCWD || file_name[0] == '/') in __file_name_split_at()
111 if (fd == AT_FDCWD || directory_name[0] == '/') in __directory_name_split_at()
/glibc-2.36/sysdeps/unix/sysv/linux/generic/
Dlink.c26 return INLINE_SYSCALL (linkat, 5, AT_FDCWD, from, AT_FDCWD, to, 0); in __link()
Dunlink.c26 return INLINE_SYSCALL (unlinkat, 3, AT_FDCWD, name, 0); in __unlink()
Drmdir.c26 return INLINE_SYSCALL (unlinkat, 3, AT_FDCWD, path, AT_REMOVEDIR); in __rmdir()
Dsymlink.c26 return INLINE_SYSCALL (symlinkat, 3, from, AT_FDCWD, to); in __symlink()
/glibc-2.36/sysdeps/mach/hurd/
Daccess.c29 return __faccessat_noerrno (AT_FDCWD, file, type, 0); in __access_noerrno()
36 return __faccessat (AT_FDCWD, file, type, 0); in __access()
Dopendir.c85 assert (dfd == AT_FDCWD); in __opendirat()
107 return __opendirat (AT_FDCWD, name); in __opendir()
Dexecve.c29 return __execveat (AT_FDCWD, file_name, argv, envp, 0); in __execve()
/glibc-2.36/posix/
Dtst-execveat.c102 call_execveat (AT_FDCWD, "sh", 0, 0, __LINE__); in do_test()
111 call_execveat (AT_FDCWD, "/bin/sh", 0, 0, __LINE__); in do_test()

1234