Home
last modified time | relevance | path

Searched refs:O_CREAT (Results 1 – 21 of 21) sorted by relevance

/sysdeps/pthread/
A Dtst-sem7.c40 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()
A Dsem_open.c64 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()
A Dtst-sem4.c47 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()
A Dtst-sem8.c43 s = sem_open ("/glibc-tst-sem8", O_CREAT, 0600, 1); in do_test()
A Dtst-sem9.c43 s = sem_open ("/glibc-tst-sem9", O_CREAT, 0600, 1); in do_test()
A Dtst-sem16.c58 sem_t *s = sem_open (pipe_name, O_CREAT, 0600, 1); in tf()
A Dtst-cancel19.c212 open (fname, O_CREAT, 0400); in do_test()
228 open (fname, O_CREAT, 0400); in do_test()
/sysdeps/unix/sysv/linux/
A Dmq_open.c41 if (oflag & O_CREAT) in __mq_open()
61 if (oflag & O_CREAT) in ___mq_open_2()
A Dcreat.c33 return __open (file, O_WRONLY | O_CREAT | O_TRUNC, mode); in __creat()
A Dcreat64.c31 return __open64 (file, O_WRONLY | O_CREAT | O_TRUNC, mode); in __creat64()
A Dgethostid.c51 fd = __open_nocancel (HOSTIDFILE, O_CREAT|O_WRONLY|O_TRUNC, 0644); in sethostid()
A Dtst-ttyname.c55 xclose (xopen (path, O_WRONLY|O_CREAT|O_NOCTTY, mode)); in touch()
/sysdeps/mach/hurd/bits/
A Dfcntl.h51 #define O_CREAT 0x0010 /* Create file if it doesn't exist. */ macro
144 # define FCREAT O_CREAT
/sysdeps/unix/sysv/linux/microblaze/bits/
A Dfcntl.h23 #define O_CREAT 00000100 /* not fcntl. */ macro
/sysdeps/unix/sysv/linux/alpha/bits/
A Dfcntl.h23 #define O_CREAT 01000 /* not fcntl */ macro
/sysdeps/unix/sysv/linux/hppa/bits/
A Dfcntl.h23 #define O_CREAT 00000400 /* not fcntl */ macro
/sysdeps/unix/sysv/linux/sparc/bits/
A Dfcntl.h27 #define O_CREAT 0x0200 /* not fcntl */ macro
/sysdeps/unix/sysv/linux/mips/bits/
A Dfcntl.h28 #define O_CREAT 0x0100 /* not fcntl */ macro
/sysdeps/unix/sysv/linux/bits/
A Dfcntl-linux.h46 #ifndef O_CREAT
47 # define O_CREAT 0100 /* Not fcntl. */ macro
/sysdeps/mach/hurd/
A Dbind.c51 err = __dir_mkfile (dir, O_CREAT, 0666 & ~_hurd_umask, &node); in __bind()
/sysdeps/posix/
A Dtempname.c180 | O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in try_file()

Completed in 19 milliseconds