Searched refs:O_EXCL (Results 1 - 25 of 285) sorted by relevance

1234567891011>>

/external/syslinux/com32/include/
H A Dfcntl.h19 #define O_EXCL 0200 macro
/external/ltp/testcases/kernel/syscalls/futex/
H A Dfutex_common.h31 fd = shm_open("/LTP_futex_wait", O_RDWR | O_CREAT | O_EXCL, 0);
35 "shm_open(/LTP_futex_wait,O_RDWR|O_CREAT|O_EXCL,775)");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
H A D6-1.c96 sem1 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1);
100 sem1 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1);
128 sem2 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 3);
H A D7-1.c109 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1);
113 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1);
H A D9-1.c116 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0);
120 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0);
/external/ltp/testcases/kernel/containers/mqns/
H A Dmqns_helper.h44 mq_open("/checkmqnsenabled", O_RDWR | O_CREAT | O_EXCL, 0777, NULL);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_open/
H A D2-2.c34 mysemp = sem_open(semname, O_CREAT | O_EXCL, 0777, 1);
H A D4-1.c11 should fail when both O_CREAT and O_EXCL name exist during the opening
39 mysemp = sem_open(semname, O_CREAT | O_EXCL, 0444, 1);
H A D2-1.c12 should fail when both O_CREAT and O_EXCL name exist during the opening
47 mysemp = sem_open(semname, O_CREAT | O_EXCL, 0777, 1);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
H A D22-1.c10 * Test that shm_open() fails if the shared memory object exist and O_EXCL and
35 fd = shm_open(SHM_NAME, O_RDONLY | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
H A D5-1.c39 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR);
/external/toybox/toys/other/
H A Drmmod.c27 unsigned int flags = O_NONBLOCK|O_EXCL;
/external/libcups/cups/
H A Dtempfile.c122 fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW, 0600);
124 fd = open(filename, O_RDWR | O_CREAT | O_EXCL, 0600);
/external/libgsm/inc/
H A Dtoast.h50 # define O_WRITE_EXCL O_WRONLY|O_CREAT|O_EXCL|O_BINARY
52 # define O_WRITE_EXCL O_WRONLY|O_CREAT|O_EXCL
/external/ltp/testcases/kernel/syscalls/utils/
H A Dmq.h60 fd = SAFE_MQ_OPEN(QUEUE_NAME, O_CREAT | O_EXCL | O_RDWR, 0700, NULL);
61 fd_nonblock = SAFE_MQ_OPEN(QUEUE_NAME_NONBLOCK, O_CREAT | O_EXCL | O_RDWR |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_close/
H A D3-2.c100 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 2);
104 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 2);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
H A D16-1.c10 * Test that tests to check if O_CREAT and O_EXCL are set that no other
13 * Test case will just attempt to call mq_open() with O_CREAT and O_EXCL
58 fd = open(fname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR);
88 childqueue = mq_open(qname, O_CREAT | O_EXCL | O_RDWR,
105 queue = mq_open(qname, O_CREAT | O_EXCL | O_RDWR,
H A D15-1.c10 * Test that if O_EXCL and O_CREAT are set and message queue name already
40 * Open queue qname again with O_CREAT and O_EXCL set
42 queue2 = mq_open(qname, O_CREAT | O_EXCL | O_RDWR,
46 printf("O_EXCL on an already opened queue.\n");
H A D23-1.c10 * Test that mq_open() fails with EEXIST if O_CREAT and O_EXCL are set
41 * Open queue qname again with O_CREAT and O_EXCL set
43 queue2 = mq_open(qname, O_CREAT | O_EXCL | O_RDWR,
47 printf("O_EXCL on an already opened queue.\n");
/external/kernel-headers/original/uapi/asm-mips/asm/
H A Dfcntl.h19 #define O_EXCL 0x0400 /* not fcntl */ macro
/external/libxml2/win32/wince/
H A Dwincecompat.h26 #define O_EXCL 0x0400 /* open only if file doesn't already exist */ macro
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/
H A D2-2.c50 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
H A D32-1.c35 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR);
/external/oj-libjdwp/src/solaris/javavm/export/
H A Djvm_md.h76 #define JVM_O_EXCL O_EXCL
/external/python/cpython2/Lib/plat-os2emx/
H A D_emx_link.py54 t = os.open(target, os.O_WRONLY | os.O_BINARY | os.O_CREAT | os.O_EXCL)

Completed in 857 milliseconds

1234567891011>>