Home
last modified time | relevance | path

Searched refs:linkat (Results 1 - 25 of 26) sorted by relevance

12

/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dlinkat.c25 * @tc.desc : Vertify linkat process success.
38 int result = linkat(fd1, "/etc/test.txt", fd2, "/etc/linkat.txt", AT_SYMLINK_FOLLOW); in linkat_0100()
40 EXPECT_EQ("linkat_0100", access("/etc/linkat.txt", F_OK), 0); in linkat_0100()
41 system("rm -f /etc/linkat.txt"); in linkat_0100()
46 * @tc.desc : Vertify linkat process fail. Beceause creating a hard linkat file with the same name.
53 if (access("/etc/linkat.txt", F_OK) != 0) { in linkat_0200()
61 int result = linkat(fd1, "/etc/test.txt", fd2, "/etc/linkat in linkat_0200()
[all...]
/third_party/musl/src/unistd/
H A Dlinkat.c4 int linkat(int fd1, const char *existing, int fd2, const char *new, int flag) in linkat() function
/third_party/ltp/testcases/kernel/syscalls/
H A DMakefile26 linkat kill mallopt memmap mq_notify mq_open mq_timedreceive \
/third_party/NuttX/fs/vfs/
H A Dfs_link.c156 int linkat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath, int flags) in linkat() function
/third_party/rust/crates/nix/test/
H A Dtest_unistd.rs914 linkat( in test_linkat_file()
951 linkat( in test_linkat_olddirfd_none()
988 linkat( in test_linkat_newdirfd_none()
1031 linkat( in test_linkat_no_follow_symlink()
1074 linkat( in test_linkat_follow_symlink()
/third_party/rust/crates/rustix/src/fs/
H A Dmod.rs95 linkat, mkdirat, openat, readlinkat, renameat, statat, symlinkat, unlinkat, utimensat, RawMode,
/third_party/musl/porting/liteos_a/user/include/
H A Dunistd.h57 int linkat(int, const char *, int, const char *, int);
/third_party/musl/porting/uniproton/kernel/include/
H A Dunistd.h55 int linkat(int, const char *, int, const char *, int);
/third_party/musl/porting/linux/user/include/
H A Dunistd.h61 int linkat(int, const char *, int, const char *, int);
/third_party/musl/porting/liteos_m/user/include/
H A Dunistd.h57 int linkat(int, const char *, int, const char *, int);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dunistd.h55 int linkat(int, const char *, int, const char *, int);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dunistd.h61 int linkat(int, const char *, int, const char *, int);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dunistd.h55 int linkat(int, const char *, int, const char *, int);
/third_party/musl/include/
H A Dunistd.h71 int linkat(int, const char *, int, const char *, int);
/third_party/musl/libc-test/src/api/
H A Dunistd.c297 {int(*p)(int,const char*,int,const char*,int) = linkat;} in f()
/third_party/toybox/porting/liteos_a/toys/posix/
H A Dcp.c189 if (!linkat(tfd, try->name, cfd, catch, 0)) err = 0; in cp_node()
/third_party/toybox/toys/posix/
H A Dcp.c216 if (!linkat(tfd, try->name, cfd, catch, 0)) err = 0; in cp_node()
/third_party/ltp/lib/
H A Dsafe_macros.c468 rval = linkat(olddirfd, oldpath, newdirfd, newpath, flags); in safe_linkat()
472 "linkat(%d,%s,%d,%s,%d) failed", olddirfd, oldpath, in safe_linkat()
476 "Invalid linkat(%d,%s,%d,%s,%d) return value %d", in safe_linkat()
/third_party/libfuse/example/
H A Dpassthrough_hp.cc485 auto res = linkat(AT_FDCWD, procname, inode_p.fd, name, AT_SYMLINK_FOLLOW); in sfs_link()
H A Dpassthrough_ll.c450 res = linkat(AT_FDCWD, procname, lo_fd(req, parent), name, in lo_link()
/third_party/rust/crates/libc/src/
H A Dwasi.rs618 pub fn linkat( in linkat() functions
/third_party/tzdata/
H A Dzic.c170 # define linkat(targetdir, target, linknamedir, linkname, flag) \ macro
1470 if (linkat(AT_FDCWD, target, AT_FDCWD, outname, AT_SYMLINK_FOLLOW) in dolink()
1480 /* If linkat is not supported, fall back on link(A, B). in dolink()
/third_party/rust/crates/nix/src/
H A Dunistd.rs1231 /// Flags for `linkat` function.
1250 /// See also [linkat(2)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/linkat.html)
1252 pub fn linkat<P: ?Sized + NixPath>( in linkat() functions
1270 libc::linkat( in linkat()
/third_party/rust/crates/libc/src/unix/
H A Dmod.rs836 pub fn linkat( in linkat() functions
/third_party/python/Modules/
H A Dposixmodule.c134 # define HAVE_LINKAT_RUNTIME (linkat != NULL)
3994 result = linkat(src_dir_fd, src->narrow, in os_link_impl()

Completed in 53 milliseconds

12