Searched refs:fcntl (Results 1 - 25 of 294) sorted by relevance

1234567891011>>

/haiku/src/system/libroot/posix/unistd/
H A Dlockf.cpp7 #include <fcntl.h>
24 return fcntl(fileDescriptor, F_SETLK, &fileLock);
28 return fcntl(fileDescriptor, F_SETLKW, &fileLock);
32 return fcntl(fileDescriptor, F_SETLK, &fileLock);
36 if (fcntl(fileDescriptor, F_GETLK, &fileLock) == -1)
49 // * "The interaction between fcntl() and lockf() locks is unspecified."
50 // * fcntl() locking works on a per-process level. The lockf() description
66 // * fcntl() and lockf() handle a 0 size argument differently. The former
70 // be determined before the fcntl() function blocks. If the file size
71 // or file descriptor seek offset change while fcntl() i
[all...]
/haiku/src/tests/system/libroot/posix/
H A Dflock_test.cpp9 #include <fcntl.h>
33 if (fcntl(fd, F_SETLK, &flock) == 0) {
43 if (fcntl(fd, F_SETLKW, &flock) == -1) {
51 if (fcntl(fd, F_SETLK, &flock) == -1) {
78 if (fcntl(fd, F_SETLK, &flock) == 0) {
87 if (fcntl(fd, F_SETLK, &flock) == -1) {
105 if (fcntl(fd, F_SETLK, &flock) == -1) {
113 if (fcntl(fd, F_SETLK, &flock) == -1) {
121 if (fcntl(fd, F_SETLK, &flock) == 0) {
130 if (fcntl(f
[all...]
H A Dposix_spawn_redir_test.c2 #include <fcntl.h>
H A Dfifo_test.cpp5 #include <fcntl.h>
/haiku/src/system/libroot/posix/glibc/include/
H A Dfcntl.h3 #include_next <fcntl.h>
/haiku/src/system/libroot/posix/stdlib/
H A Dpty.cpp8 #include <fcntl.h>
/haiku/src/servers/package/
H A DPackage.cpp12 #include <fcntl.h>
/haiku/headers/build/host/darwin/
H A Dfcntl.h5 #include_next <fcntl.h>
/haiku/src/bin/debug/strace/
H A Dfcntl.cpp10 #include <fcntl.h>
91 Syscall *fcntl = get_syscall("_kern_fcntl"); local
92 fcntl->GetParameter("op")->SetHandler(new EnumTypeHandler(kFcntlNames));
93 fcntl->GetParameter("argument")->SetHandler(
/haiku/src/bin/
H A Drescan.c6 #include <fcntl.h>
/haiku/src/servers/bluetooth/
H A DHCIDelegate.h9 #include <fcntl.h>
/haiku/src/tests/add-ons/kernel/drivers/random/
H A Drandom_test.cpp2 #include <fcntl.h>
/haiku/src/tools/fixup_tos_boot_checksum/
H A Dfixup_tos_boot_checksum.c1 #include <fcntl.h>
/haiku/src/system/boot/loader/file_systems/hfs_plus/
H A Dhfs_plus.cpp14 #include <fcntl.h>
/haiku/headers/os/storage/
H A DStorageDefs.h9 #include <fcntl.h>
/haiku/src/system/libroot/os/
H A Dstack_protector.cpp7 #include <fcntl.h>
/haiku/src/tests/system/kernel/
H A Dmmap_fixed_test.cpp6 #include <fcntl.h>
/haiku/src/system/boot/loader/file_systems/fat/
H A Dfatfs.cpp14 #include <fcntl.h>
/haiku/src/system/libroot/posix/glibc/libio/
H A Diofdopen.c32 #include <fcntl.h>
93 fd_flags = fcntl(fd, F_GETFL);
126 if (fcntl(fd, F_SETFL, fd_flags | O_APPEND) == -1)
/haiku/src/add-ons/media/media-add-ons/opensound/
H A Ddriver_io.h32 #include <fcntl.h>
/haiku/src/apps/devices/
H A Ddm_wrapper.c11 #include <fcntl.h>
/haiku/src/bin/listdev/
H A Ddm_wrapper.c8 #include <fcntl.h>
/haiku/src/libs/bsd/
H A Ddaemon.c9 #include <fcntl.h>
/haiku/src/tests/add-ons/kernel/drivers/hpet/
H A Dmain.cpp2 #include <fcntl.h>
/haiku/src/tests/add-ons/kernel/file_systems/bfs/rename/
H A Drename.c4 #include <fcntl.h>

Completed in 175 milliseconds

1234567891011>>