/glibc-2.36/io/ |
D | tst-openat.c | 85 int fd = openat (dir_fd, "some-file", O_CREAT|O_RDWR|O_EXCL, 0666); in do_test() 101 int fd2 = openat (fd, "should-not-work", O_CREAT|O_RDWR, 0666); in do_test() 185 fd = openat (dir_fd, "some-file", O_CREAT|O_RDWR|O_EXCL, 0666); in do_test() 197 fd = openat (-1, "some-file", O_CREAT|O_RDWR|O_EXCL, 0666); in do_test()
|
D | fcntl.h | 41 (((oflag) & O_CREAT) != 0 || ((oflag) & __O_TMPFILE) == __O_TMPFILE) 43 # define __OPEN_NEEDS_MODE(oflag) (((oflag) & O_CREAT) != 0)
|
D | creat.c | 28 return __open (file, O_WRONLY|O_CREAT|O_TRUNC, mode); in creat()
|
D | creat64.c | 27 return __open64 (file, O_WRONLY|O_CREAT|O_TRUNC, mode); in creat64()
|
/glibc-2.36/sysdeps/pthread/ |
D | sem_open.c | 64 if ((oflag & O_CREAT) == 0 || (oflag & O_EXCL) == 0) in __sem_open() 68 (oflag & ~(O_CREAT|O_ACCMODE)) | O_NOFOLLOW | O_RDWR); in __sem_open() 73 if ((oflag & O_CREAT) != 0 && errno == ENOENT) in __sem_open() 135 fd = __open (tmpfname, O_RDWR | O_CREAT | O_EXCL, mode); in __sem_open()
|
D | tst-sem7.c | 40 s = sem_open ("/glibc-tst-sem7", O_CREAT, 0600, 1); in do_test() 64 s2 = sem_open ("/glibc-tst-sem7", O_CREAT, 0600, 1); in do_test()
|
D | tst-sem4.c | 47 s = sem_open ("/glibc-tst-sem4", O_CREAT, 0600, 1); in do_test() 69 s2 = sem_open ("/glibc-tst-sem4", O_CREAT | O_EXCL, 0600, 1); in do_test()
|
D | tst-cancel19.c | 212 open (fname, O_CREAT, 0400); in do_test() 228 open (fname, O_CREAT, 0400); in do_test()
|
D | tst-sem8.c | 43 s = sem_open ("/glibc-tst-sem8", O_CREAT, 0600, 1); in do_test()
|
D | tst-sem9.c | 43 s = sem_open ("/glibc-tst-sem9", O_CREAT, 0600, 1); in do_test()
|
/glibc-2.36/rt/ |
D | tst-mqueue4.c | 45 mqd_t q = mq_open (name, O_CREAT | O_EXCL | O_RDWR, 0600, &attr); in do_test() 62 mqd_t q2 = mq_open (name, O_CREAT | O_EXCL | O_RDWR, 0600, &attr); in do_test() 83 q2 = mq_open (name, O_CREAT | O_EXCL | O_RDWR, 0600, &attr); in do_test() 113 q2 = mq_open (name, O_CREAT | O_RDWR, 0600, &attr); in do_test()
|
D | tst-mqueue2.c | 48 mqd_t q = mq_open (name, O_CREAT | O_EXCL | O_RDWR, 0600, &attr); in do_test() 61 mqd_t q2 = mq_open (name, O_CREAT | O_EXCL | O_RDWR, 0600, &attr); in do_test() 77 q2 = mq_open (name2, O_CREAT | O_EXCL | O_RDWR, 0600, &attr); in do_test() 93 q2 = mq_open (name2, O_CREAT | O_EXCL | O_RDWR, 0600, &attr); in do_test()
|
D | tst-shm.c | 134 fd = shm_open (shm_escape_name, O_RDWR | O_CREAT | O_TRUNC | O_EXCL, 0600); in do_test() 143 fd = shm_open (shm_test_name, O_RDWR | O_CREAT | O_TRUNC | O_EXCL, 0600); in do_test()
|
D | mq_open.c | 41 if (oflag & O_CREAT) in stub_warning()
|
/glibc-2.36/support/ |
D | shell-container.c | 115 dfd = open (dname, O_WRONLY | O_TRUNC | O_CREAT, 0600); in copy_func() 214 new_stdin = open (argv[i + 1], O_WRONLY|O_CREAT|O_TRUNC, 0777); in run_command_array() 220 new_stdout = open (argv[i + 1], O_WRONLY|O_CREAT|O_TRUNC, 0777); in run_command_array() 226 new_stdout = open (argv[i + 1], O_WRONLY|O_CREAT|O_APPEND, 0777); in run_command_array() 232 new_stderr = open (argv[i + 1], O_WRONLY|O_CREAT|O_TRUNC, 0777); in run_command_array()
|
D | support_write_file_string.c | 27 int fd = xopen (path, O_CREAT | O_TRUNC | O_WRONLY, 0666); in support_write_file_string()
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | mq_open.c | 41 if (oflag & O_CREAT) in __mq_open() 61 if (oflag & O_CREAT) in ___mq_open_2()
|
D | creat.c | 33 return __open (file, O_WRONLY | O_CREAT | O_TRUNC, mode); in __creat()
|
D | creat64.c | 31 return __open64 (file, O_WRONLY | O_CREAT | O_TRUNC, mode); in __creat64()
|
/glibc-2.36/sysdeps/mach/hurd/bits/ |
D | fcntl.h | 51 #define O_CREAT 0x0010 /* Create file if it doesn't exist. */ macro 144 # define FCREAT O_CREAT
|
/glibc-2.36/posix/ |
D | tst-spawn-chdir.c | 157 O_WRONLY | O_CREAT | O_EXCL, 0777), 0); in do_test() 163 O_WRONLY | O_CREAT | O_EXCL, 0777), 0); in do_test()
|
/glibc-2.36/sysdeps/unix/sysv/linux/bits/ |
D | fcntl-linux.h | 46 #ifndef O_CREAT 47 # define O_CREAT 0100 /* Not fcntl. */ macro
|
/glibc-2.36/sysdeps/unix/sysv/linux/microblaze/bits/ |
D | fcntl.h | 23 #define O_CREAT 00000100 /* not fcntl. */ macro
|
/glibc-2.36/debug/ |
D | pcprofile.c | 42 fd = open (outfile, O_RDWR | O_CREAT, 0666); in install()
|
/glibc-2.36/sysdeps/unix/sysv/linux/hppa/bits/ |
D | fcntl.h | 23 #define O_CREAT 00000400 /* not fcntl */ macro
|