Home
last modified time | relevance | path

Searched refs:mknodat (Results 1 - 25 of 36) sorted by relevance

12

/third_party/musl/libc-test/src/functionalext/supplement/stat/
H A Dmknodat.c24 * @tc.desc : Verify mknodat process success. Create named pipe with correct parameters.
32 int ret = mknodat(-1, path, S_IFIFO | TEST_FIFO_MODE, 0); in mknodat_0100()
42 * @tc.desc : Verify mknodat process fail. Because pathname already exists.
49 int ret = mknodat(-1, path, S_IFIFO | TEST_FIFO_MODE, 0); in mknodat_0200()
54 ret = mknodat(-1, path, S_IFIFO | TEST_FIFO_MODE, 0); in mknodat_0200()
/third_party/rust/crates/rustix/tests/fs/
H A Dmknodat.rs9 use rustix::fs::{cwd, mknodat, openat, statat, unlinkat, AtFlags, FileType, Mode, OFlags}; in test_mknodat()
17 mknodat(&dir, "foo", FileType::RegularFile, Mode::empty(), 0).unwrap(); in test_mknodat()
23 mknodat(&dir, "foo", FileType::Fifo, Mode::empty(), 0).unwrap(); in test_mknodat()
H A Dmain.rs33 mod mknodat; modules
/third_party/musl/src/stat/
H A Dmknodat.c5 int mknodat(int fd, const char *path, mode_t mode, dev_t dev) in mknodat() function
H A Dmkfifoat.c7 return mknodat(fd, path, mode | S_IFIFO, 0); in mkfifoat()
H A D__xstat.c39 return mknodat(fd, path, mode, *dev); in __xmknodat()
/third_party/musl/porting/liteos_a/user/src/stat/
H A Dmknodat.c5 int mknodat(int fd, const char *path, mode_t mode, dev_t dev) in mknodat() function
H A Dmkfifoat.c7 return mknodat(fd, path, mode | S_IFIFO, 0); in mkfifoat()
/third_party/ltp/testcases/kernel/syscalls/mknodat/
H A Dmknodat.h29 int mknodat(int dirfd, const char *filename, mode_t mode, dev_t dev) in mknodat() function
H A Dmknodat02.c40 #include "mknodat.h"
81 char *TCID = "mknodat";
148 TEST(mknodat(fd, pathname, mode, 0)); in mknodat_verify()
152 "mknodat() returned the expected value"); in mknodat_verify()
155 "mknodat() got unexpected return value; expected: " in mknodat_verify()
H A Dmknodat01.c22 * This test case will verify basic function of mknodat
38 #include "mknodat.h"
75 TEST(mknodat(*test->dir_fd, test->name, S_IFREG, dev)); in verify_mknodat()
79 "mknodat() returned %ld, expected %d", in verify_mknodat()
86 "mknodat() returned wrong errno, expected %d", in verify_mknodat()
91 tst_resm(TPASS | TTERRNO, "mknodat() returned %ld", TEST_RETURN); in verify_mknodat()
/third_party/libfuse/example/
H A Dpassthrough_helpers.h72 res = mknodat(dirfd, path, mode, rdev); in mknod_wrapper()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dstat.h88 int mknodat(int, const char *, mode_t, dev_t);
/third_party/musl/porting/linux/user/include/sys/
H A Dstat.h88 int mknodat(int, const char *, mode_t, dev_t);
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dstat.h88 int mknodat(int, const char *, mode_t, dev_t);
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dstat.h88 int mknodat(int, const char *, mode_t, dev_t);
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dstat.h88 int mknodat(int, const char *, mode_t, dev_t);
/third_party/musl/libc-test/src/api/
H A Dsys_stat.c99 {int(*p)(int,const char*,mode_t,dev_t) = mknodat;} in f()
/third_party/musl/include/sys/
H A Dstat.h95 int mknodat(int, const char *, mode_t, dev_t);
/third_party/rust/crates/nix/src/sys/
H A Dstat.rs194 pub fn mknodat<P: ?Sized + NixPath>( in mknodat() functions
202 libc::mknodat( in mknodat()
/third_party/toybox/lib/
H A Dportability.h209 // macOS doesn't have mknodat, but we can fake it.
211 int mknodat(int, const char*, mode_t, dev_t);
H A Dportability.c388 // In the absence of a mknodat system call, fchdir to dirfd and back
390 int mknodat(int dirfd, const char *path, mode_t mode, dev_t dev) in mknodat() function
396 if (fchdir(old_dirfd) == -1) perror_exit("mknodat couldn't return"); in mknodat()
/third_party/rust/crates/rustix/src/fs/
H A Dmod.rs88 pub use at::mknodat;
/third_party/rust/crates/nix/test/
H A Dtest_stat.rs398 use stat::{fstatat, mknodat, SFlag}; in test_mknodat()
404 mknodat( in test_mknodat()
/third_party/toybox/porting/liteos_a/toys/posix/
H A Dcp.c229 : !mknodat(cfd, catch, try->st.st_mode, try->st.st_rdev)) in cp_node()

Completed in 8 milliseconds

12