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

12

/haiku/headers/os/storage/
H A DStorageDefs.h27 #define B_FAIL_IF_EXISTS O_EXCL /* exclusive create */
/haiku/src/add-ons/print/transports/parallel_port/
H A DParallelTransport.cpp67 fFile = open(device, O_RDWR | O_EXCL, 0);
71 fFile = open(device, O_WRONLY | O_EXCL, 0);
/haiku/src/add-ons/print/transports/serial_port/
H A DSerialTransport.cpp50 fFile = open(device, O_RDWR | O_EXCL, 0);
54 fFile = open(device, O_WRONLY | O_EXCL, 0);
/haiku/src/bin/debug/strace/
H A Dfcntl.cpp24 FLAG_INFO_ENTRY(O_EXCL),
/haiku/headers/posix/
H A Dfcntl.h41 #define O_EXCL 0x0100 /* exclusive creat */ macro
/haiku/src/servers/midi/
H A DDeviceWatcher.cpp228 int fd = open(path, O_RDWR | O_EXCL);
234 fd = open(path, O_RDONLY | O_EXCL);
236 fd = open(path, O_WRONLY | O_EXCL);
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dunix_io.c70 #ifndef O_EXCL
71 # define O_EXCL 0 macro
142 flags |= O_EXCL;
/haiku/src/system/libroot/posix/stdlib/
H A Dmktemp.c152 if ((*doopen = open(path, O_CREAT|O_EXCL|O_RDWR, 0600)) >= 0)
/haiku/src/bin/
H A Ddstcheck.cpp125 int fd = open(path, O_RDWR | O_EXCL | O_CREAT, S_IRUSR | S_IWUSR);
H A Dmvattr.cpp76 O_RDONLY | O_EXCL);
H A Durlwrapper.cpp395 BFile query(qname.String(), O_CREAT|O_EXCL);
/haiku/src/tests/system/kernel/
H A Dmmap_cut_tests.cpp84 int fd = shm_open(name, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW, 0600);
/haiku/src/libs/stdc++/legacy/
H A Dfilebuf.cc113 posix_mode |= O_EXCL;
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dtempname.c223 __GT_FILE: create the file using open(O_CREAT|O_EXCL)
300 fd = open(tmpl, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR);
/haiku/src/tools/fs_shell/
H A Dstat_util.cpp213 SET_OPEN_MODE_FLAG(O_EXCL, FSSH_O_EXCL)
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DAttribute.cpp128 if (exists && (openMode & O_EXCL) != 0)
/haiku/src/libs/gnu/
H A Dxattr.cpp141 openMode |= O_CREAT | O_EXCL;
/haiku/src/system/libroot/posix/
H A Dsemaphore.cpp63 // clear O_EXCL, if O_CREAT is not given
64 openFlags &= ~O_EXCL;
/haiku/src/kits/device/
H A DSerialPort.cpp115 // TODO: BeOS don't use O_EXCL, and this seems to lead
119 ffd = open(buf, O_RDWR | O_NONBLOCK | O_EXCL);
H A DJoystick.cpp136 // TODO: BeOS don't use O_EXCL, and this seems to lead to some issues. I
139 fFD = open(nameBuffer, O_RDWR | O_NONBLOCK | O_EXCL);
/haiku/src/add-ons/kernel/file_cache/
H A Dlog.cpp382 sLogFile = open(name, O_WRONLY | O_CREAT | O_EXCL, DEFFILEMODE);
/haiku/src/tests/system/libroot/posix/
H A Drealtime_sem_test1.cpp99 // open existing with O_CREAT | O_EXCL
100 TEST("sem_open(O_CREAT | O_EXCL) existing");
101 sem = sem_open(kSemName1, O_CREAT | O_EXCL, S_IRUSR | S_IWUSR, 1);
113 // open non-existing with O_CREAT | O_EXCL
114 TEST("sem_open(O_CREAT | O_EXCL) non-existing");
115 sem2 = sem_open(kSemName1, O_CREAT | O_EXCL, S_IRUSR | S_IWUSR, 2);
/haiku/src/bin/package/
H A Dcommand_extract.cpp501 fd = openat(parentFD, entryName, O_RDWR | O_CREAT | O_EXCL,
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A DBeOSKernelVolume.cpp853 if (exists && (openMode & O_EXCL))
/haiku/src/system/kernel/posix/
H A Drealtime_sem.cpp207 if ((openFlags & O_EXCL) != 0)

Completed in 249 milliseconds

12