Home
last modified time | relevance | path

Searched refs:creat (Results 1 – 25 of 117) sorted by relevance

12345

/third_party/ltp/testcases/kernel/syscalls/dup/
Ddup07.c62 if ((rdoret = creat(testfile, 0444)) == -1) { in main()
84 if ((wroret = creat(testfile, 0222)) == -1) { in main()
107 if ((rdwret = creat(testfile, 0666)) == -1) { in main()
/third_party/musl/src/fcntl/
Dcreat.c3 int creat(const char *filename, mode_t mode) in creat() function
8 weak_alias(creat, creat64);
/third_party/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_file_test.c199 close(creat(link_source_path, 0600)); in create_files()
200 close(creat(rename_source_path, 0600)); in create_files()
201 close(creat(truncate_path, 0600)); in create_files()
202 close(creat(unlink_path, 0600)); in create_files()
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
Dputc.c31 int32_t ret = creat("putc_0100.txt", CREAT_MODE); in putc_0100()
55 int ret = creat("putc_0200.txt", CREAT_MODE); in putc_0200()
Dputwc.c32 int32_t ret = creat("putwc_0100.txt", CREAT_MODE); in putwc_0100()
54 int32_t ret = creat("putwc_0200.txt", CREAT_MODE); in putwc_0200()
Dfopen.c37 int ret = creat("tempory_test.txt", CREAT_MODE); in fopen_0100()
156 int ret = creat("tempory_test5.txt", CREAT_MODE); in fopen_0500()
271 int ret = creat("tempory_test9.txt", CREAT_MODE); in fopen_0900()
Drewind.c30 int32_t ret = creat("/data/rewind_0100.txt", CREAT_MODE); in rewind_0100()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
Dlinkat.c30 int fd1 = creat("/etc/test.txt", CREAT_MODE); in linkat_0100()
51 int fd1 = creat("/etc/test.txt", CREAT_MODE); in linkat_0200()
Drenameat.c38 if ((oldfd = creat(oldPath, S_IWUSR)) < 0) { in renameat_0100()
41 if ((newfd = creat(newPath, S_IWUSR)) < 0) { in renameat_0100()
/third_party/musl/libc-test/src/functionalext/supplement/legacy/
Dlutimes.c41 fd = creat("./lutimes_0100.txt", TEST_FIFO_MODE); in lutimes_0100()
83 fd = creat("./lutimes_time64_0100.txt", TEST_FIFO_MODE); in lutimes_time64_0100()
/third_party/musl/libc-test/src/functionalext/supplement/time/
Dutime_sup.c37 if ((fd = creat(file, S_IWUSR)) < 0) { in utime_0100()
101 if ((fd = creat(file, S_IWUSR)) < 0) { in utime64_0100()
/third_party/musl/porting/liteos_a/kernel/include/
Dfcntl.h32 int creat(const char *, mode_t);
197 #define creat64 creat
/third_party/musl/porting/uniproton/kernel/include/
Dfcntl.h32 int creat(const char *, mode_t);
205 #define creat64 creat
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dfcntl.h32 int creat(const char *, mode_t);
205 #define creat64 creat
/third_party/musl/porting/linux/user/include/
Dfcntl.h33 int creat(const char *, mode_t);
206 #define creat64 creat
/third_party/musl/porting/liteos_m/kernel/include/
Dfcntl.h32 int creat(const char *, mode_t);
205 #define creat64 creat
/third_party/musl/porting/liteos_m/user/include/
Dfcntl.h32 int creat(const char *, mode_t);
205 #define creat64 creat
/third_party/musl/ndk_musl_include/
Dfcntl.h32 int creat(const char *, mode_t);
205 #define creat64 creat
/third_party/musl/include/
Dfcntl.h32 int creat(const char *, mode_t);
205 #define creat64 creat
/third_party/ltp/testcases/kernel/syscalls/fmtmsg/
Dfmtmsg01.c89 fd = creat("fmtfile", 0644); in main()
155 fd = creat("fmtfile", 0644); in main()
/third_party/musl/libc-test/src/functionalext/supplement/stat/
Dstat_sup.c33 fd = creat("test1.txt", CREAT_MODE); in stat_0100()
/third_party/ltp/testcases/kernel/syscalls/creat/
Dcreat07.c34 TEST(creat(TEST_APP, O_WRONLY)); in verify_creat()
Dcreat03.c27 fd = creat(pfilname, 444); in verify_creat()
/third_party/musl/libc-test/src/functionalext/supplement/fcntl/
Dcreat.c29 fd = creat(ptr, O_RDWR | O_CREAT); in creat_0100()
/third_party/ltp/testcases/kernel/fs/fs_di/
Dcreate_datafile.c59 if ((fd = creat(argv[2], 0755)) == -1) in main()

12345