/external/syslinux/com32/lib/ |
creat.c | 2 * creat.c 9 int creat(const char *pathname, mode_t mode) function
|
/external/strace/tests/ |
creat.c | 7 # define TEST_SYSCALL_STR "creat"
|
creat.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (creat -a20); do not edit.
|
/external/strace/tests-m32/ |
creat.c | 7 # define TEST_SYSCALL_STR "creat"
|
creat.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (creat -a20); do not edit.
|
/external/strace/tests-mx32/ |
creat.c | 7 # define TEST_SYSCALL_STR "creat"
|
creat.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (creat -a20); do not edit.
|
/external/valgrind/none/tests/ |
fdleak_creat.c | 13 (void) DO( creat(filename, 0) );
|
/external/ltp/testcases/kernel/syscalls/creat/ |
creat07.c | 21 * Testcase to check creat(2) sets ETXTBSY correctly. 49 TEST(creat(TEST_APP, O_WRONLY)); 52 tst_res(TFAIL, "creat() succeeded unexpectedly"); 57 tst_res(TPASS, "creat() received EXTBSY"); 59 tst_res(TFAIL | TTERRNO, "creat() failed unexpectedly");
|
creat01.c | 21 * 1. creat() a file using 0444 mode, write to the fildes, write 24 * 2. creat() should truncate a file to 0 bytes if it already 56 fd = creat(filename, tcases[i].mode); 59 tst_brk(TBROK | TERRNO, "creat() failed"); 64 tst_res(TFAIL, "creat() failed to truncate file to 0 bytes"); 66 tst_res(TPASS, "creat() truncated file to 0 bytes");
|
creat06.c | 22 * Testcase to check creat(2) sets the following errnos correctly: 34 * 1. Attempt to creat(2) an existing directory, and test for 36 * 2. Attempt to creat(2) a file whose name is more than 38 * 3. Attempt to creat(2) a file inside a directory which doesn't 40 * 4. Attempt to creat(2) a file, the pathname of which comprises 42 * 5. Attempt to creat(2) a file with a bad address 44 * 6. Attempt to creat(2) a file in a directory with no 46 * 7. Attempt to creat(2) a file which links the other file that 48 * 8. Attempt to creat(2) a file in a Read-only file system 107 TEST(creat(tcases[i].fname, tcases[i].mode)) [all...] |
creat03.c | 22 * Creat a new file, fstat.st_mode should have the 01000 bit off 40 fd = creat(pfilname, 444); 43 tst_res(TFAIL | TERRNO, "creat(%s) failed", pfilname);
|
creat05.c | 21 * Testcase to check that creat(2) system call returns EMFILE. 40 TEST(creat("filename", 0666)); 49 tst_res(TPASS, "creat() failed with EMFILE");
|
creat04.c | 21 * Testcase to check creat(2) fails with EACCES 49 TEST(creat(tcases[i].fname, 0444));
|
/external/ltp/testcases/kernel/syscalls/dup/ |
dup07.c | 27 HOW: Creat a file with each access mode; dup each file descriptor; 62 if ((rdoret = creat(testfile, 0444)) == -1) { 63 tst_resm(TFAIL, "Unable to creat file '%s'", testfile); 84 if ((wroret = creat(testfile, 0222)) == -1) { 85 tst_resm(TFAIL, "Unable to creat file '%s'", testfile); 107 if ((rdwret = creat(testfile, 0666)) == -1) { 108 tst_resm(TFAIL, "Unable to creat file '%s'", testfile);
|
/external/ltp/testcases/kernel/syscalls/dup2/ |
dup202.c | 31 * Creat a file with each access mode; dup each file descriptor; 74 /* The first test creat(es) a file with mode 0444 */ 77 /* The second test creat(es) a file with mode 0222 */ 80 /* The third test creat(es) a file with mode 0666 */ 103 if ((ofd = creat(testfile, TC[i].mode)) == -1) 105 "creat failed");
|
/external/swiftshader/third_party/LLVM/autoconf/m4/ |
func_mmap_file.m4 | 15 fd = creat ("foo",0777);
|
/external/autotest/client/deps/fakegudev/src/ |
fakesyscalls.c | 21 /* The purpose of this library is to override the open/creat syscalls to 47 * simultaneously call open/creat for the first time, internal data-structures 49 * It is safe to have subsequent calls to open/creat be concurrent. 85 static const char *k_func_creat = "creat"; 233 creat (const char *pathname, mode_t mode) function 245 "Redirect: creat (%s, %d) --> creat (%s, %d)",
|
/external/elfutils/tests/ |
lfs-symbols | 25 creat
|
/external/ltp/testcases/kernel/syscalls/statfs/ |
statfs03.c | 129 tst_resm(TFAIL, "creat(2) FAILED to creat temp file"); 132 if ((fileHandle = creat(path, 0444)) == -1) 133 tst_brkm(TFAIL | TERRNO, cleanup, "creat failed");
|
/external/e2fsprogs/misc/ |
mklost+found.c | 65 if ((d = creat (path, 0644)) == -1) { 66 perror ("creat");
|
/external/ltp/testcases/kernel/syscalls/unlink/ |
unlink08.c | 287 if ((fd = creat("unwrite_dir/file", 0777)) == -1) { 289 "creat(unwrite_dir/file, 0777) failed, errno:%d %s", 306 if ((fd = creat("unwrite_dir/file", 0777)) == -1) { 308 "creat(unwrite_dir/file, 0777) failed, errno:%d %s", 336 if ((fd = creat("unsearch_dir/file", 0777)) == -1) { 338 "creat(unsearch_dir/file, 0777) failed, errno:%d %s", 355 if ((fd = creat("unsearch_dir/file", 0777)) == -1) { 357 "creat(unsearch_dir/file, 0777) failed, errno:%d %s",
|
/external/ltp/testcases/kernel/containers/mqns/ |
mqns_03.c | 95 rc = creat(FNAM2, 0755); 97 write(p2[1], "creat", 6); 181 } else if (!strcmp(buf, "creat")) { 182 tst_resm(TFAIL, "child couldn't creat mq through mqueuefs"); 196 "creat(2)'d file gone after remount of mqueuefs");
|
/bionic/libc/bionic/ |
open.cpp | 46 int creat(const char* pathname, mode_t mode) { function 49 __strong_alias(creat64, creat);
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
fcntl22.c | 107 if ((file = creat("regfile", 0777)) == -1) { 109 "creat(regfile, 0777) failed, errno:%d %s", errno,
|