Symbol: fcntl
headers/posix/fcntl.h
102
extern int fcntl(int fd, int op, ...);
src/add-ons/kernel/file_systems/ntfs/libntfs/unix_io.c
177
if (fcntl(DEV_FD(dev), F_SETLK, &flk)) {
src/add-ons/kernel/file_systems/ntfs/libntfs/unix_io.c
222
if (fcntl(DEV_FD(dev), F_SETLK, &flk))
src/add-ons/kernel/file_systems/ntfs/libntfs/unix_io.c
94
ret = fcntl(fildes, F_FULLFSYNC, NULL);
src/apps/expander/ExpanderThread.cpp
92
int flags = fcntl(fStdOut, F_GETFL, 0);
src/apps/expander/ExpanderThread.cpp
94
fcntl(fStdOut, F_SETFL, flags);
src/apps/expander/ExpanderThread.cpp
95
flags = fcntl(fStdErr, F_GETFL, 0);
src/apps/expander/ExpanderThread.cpp
97
fcntl(fStdErr, F_SETFL, flags);
src/apps/poorman/libhttpd/libhttpd.c
1745
(void) fcntl( hc->conn_fd, F_SETFD, 1 );
src/apps/poorman/libhttpd/libhttpd.c
3415
(void) fcntl( hc->conn_fd, F_SETFD, 0 );
src/apps/poorman/libhttpd/libhttpd.c
399
(void) fcntl( listen_fd, F_SETFD, 1 );
src/apps/poorman/libhttpd/libhttpd.c
419
flags = fcntl( listen_fd, F_GETFL, 0 );
src/apps/poorman/libhttpd/libhttpd.c
427
if ( fcntl( listen_fd, F_SETFL, flags | O_NDELAY ) < 0 )
src/apps/poorman/libhttpd/libhttpd.c
592
flags = fcntl( fd, F_GETFL, 0 );
src/apps/poorman/libhttpd/libhttpd.c
597
(void) fcntl( fd, F_SETFL, newflags );
src/apps/poorman/libhttpd/libhttpd.c
608
flags = fcntl( fd, F_GETFL, 0 );
src/apps/poorman/libhttpd/libhttpd.c
613
(void) fcntl( fd, F_SETFL, newflags );
src/bin/debug/strace/fcntl.cpp
108
Syscall *fcntl = get_syscall("_kern_fcntl");
src/bin/debug/strace/fcntl.cpp
109
fcntl->GetParameter("op")->SetHandler(new EnumTypeHandler(kFcntlNames));
src/bin/debug/strace/fcntl.cpp
110
fcntl->GetParameter("argument")->SetHandler(
src/bin/multiuser/multiuser_utils.cpp
197
if (fcntl(STDIN_FILENO, F_GETFD) != -1) {
src/bin/network/ftpd/ftpd.c
1988
if ((flags = fcntl(pdata, F_GETFL, 0)) == -1 ||
src/bin/network/ftpd/ftpd.c
1989
fcntl(pdata, F_SETFL, flags | O_NONBLOCK) == -1)
src/bin/network/ftpd/ftpd.c
2000
if ((flags = fcntl(pdata, F_GETFL, 0)) == -1 ||
src/bin/network/ftpd/ftpd.c
2001
fcntl(pdata, F_SETFL, flags & ~O_NONBLOCK) == -1)
src/bin/network/ftpd/ftpd.c
598
if (fcntl(s, F_SETOWN, getpid()) == -1)
src/bin/screenmode/screenmode.cpp
362
int flags = fcntl(STDIN_FILENO, F_GETFL, 0);
src/bin/screenmode/screenmode.cpp
363
fcntl(STDIN_FILENO, F_SETFL, flags | O_NONBLOCK);
src/bin/unzip/unzpriv.h
538
extern int stat(), unlink(), jsys(), fcntl();
src/build/libbe/storage/Directory.cpp
109
fcntl(fDirFd, F_SETFD, FD_CLOEXEC);
src/build/libbe/storage/Directory.cpp
150
fcntl(fDirFd, F_SETFD, FD_CLOEXEC);
src/build/libbe/storage/Directory.cpp
172
fcntl(fDirFd, F_SETFD, FD_CLOEXEC);
src/build/libbe/storage/Directory.cpp
210
fcntl(fDirFd, F_SETFD, FD_CLOEXEC);
src/build/libbe/storage/Entry.cpp
584
fcntl(parentFD, F_SETFD, FD_CLOEXEC);
src/build/libbe/storage/Entry.cpp
999
fcntl(dirFD, F_SETFD, FD_CLOEXEC);
src/build/libbe/storage/File.cpp
171
fcntl(fd, F_SETFD, FD_CLOEXEC);
src/build/libbe/storage/File.cpp
215
fcntl(fd, F_SETFD, FD_CLOEXEC);
src/build/libbe/storage/File.cpp
253
fcntl(fd, F_SETFD, FD_CLOEXEC);
src/build/libbe/storage/File.cpp
295
fcntl(fd, F_SETFD, FD_CLOEXEC);
src/build/libbe/storage/Node.cpp
639
fcntl(fAttrFd, F_SETFD, FD_CLOEXEC);
src/build/libroot/fs.cpp
1571
return fcntl(fd, op, argument);
src/build/libroot/fs_darwin.cpp
228
if (fcntl(fd, F_GETPATH, path) < 0) {
src/build/libroot/fs_darwin.cpp
39
if (fcntl(fd, F_GETPATH, fullPath) < 0) {
src/build/libroot/function_remapper.cpp
263
HIDDEN_FUNCTION(fcntl);
src/kits/device/SerialPort.cpp
125
int flags = fcntl(ffd, F_GETFL);
src/kits/device/SerialPort.cpp
126
fcntl(ffd, F_SETFL, flags & ~O_NONBLOCK);
src/kits/network/libnetapi/NetEndpoint.cpp
280
int flags = fcntl(fSocket, F_GETFL);
src/kits/network/libnetapi/NetEndpoint.cpp
291
if (fcntl(fSocket, F_SETFL, flags) < 0) {
src/kits/network/libnetservices2/HttpSession.cpp
789
auto flags = fcntl(fSocket->Socket(), F_GETFL, 0);
src/kits/network/libnetservices2/HttpSession.cpp
792
if (fcntl(fSocket->Socket(), F_SETFL, flags | O_NONBLOCK) != 0)
src/kits/storage/Directory.cpp
113
fcntl(fDirFd, F_SETFD, FD_CLOEXEC);
src/kits/storage/Directory.cpp
155
fcntl(fDirFd, F_SETFD, FD_CLOEXEC);
src/kits/storage/Directory.cpp
178
fcntl(fDirFd, F_SETFD, FD_CLOEXEC);
src/kits/storage/Directory.cpp
217
fcntl(fDirFd, F_SETFD, FD_CLOEXEC);
src/kits/storage/Entry.cpp
330
fcntl(parentFD, F_SETFD, FD_CLOEXEC);
src/kits/storage/Entry.cpp
668
fcntl(dirFD, F_SETFD, FD_CLOEXEC);
src/kits/storage/Node.cpp
649
fcntl(fAttrFd, F_SETFD, FD_CLOEXEC);
src/kits/storage/Query.cpp
329
fcntl(fQueryFd, F_SETFD, FD_CLOEXEC);
src/libs/libsolv/ext/solv_xfopen.c
356
int fl = fcntl(fd, F_GETFL, 0);
src/libs/libsolv/solv/repopage.c
789
fcntl(store->pagefd, F_SETFD, FD_CLOEXEC);
src/libs/util/pidfile.c
124
if (fcntl(fd, F_SETLK, &lock) == -1) {
src/libs/uuid/gen_uuid.c
261
while (fcntl(state_fd, F_SETLKW, &fl) < 0) {
src/libs/uuid/gen_uuid.c
333
if (fcntl(state_fd, F_SETLK, &fl) < 0) {
src/libs/uuid/gen_uuid.c
85
i = fcntl(fd, F_GETFD);
src/libs/uuid/gen_uuid.c
87
fcntl(fd, F_SETFD, i | FD_CLOEXEC);
src/servers/midi/DeviceWatcher.cpp
246
int flags = fcntl(fd, F_GETFL);
src/servers/net/Services.cpp
155
fcntl(fReadPipe, F_SETFD, FD_CLOEXEC);
src/servers/net/Services.cpp
156
fcntl(fWritePipe, F_SETFD, FD_CLOEXEC);
src/servers/net/Services.cpp
264
|| fcntl(connection.socket, F_SETFD, FD_CLOEXEC) < 0) {
src/servers/net/Services.cpp
426
if (socket != -1 && fcntl(socket, F_SETFD, 0) < 0) {
src/system/libnetwork/netresolv/net/getaddrinfo.c
961
fcntl(s, F_SETFD, FD_CLOEXEC);
src/system/libnetwork/netresolv/resolv/res_init.c
480
statp->_u._ext.ext->resfd = fcntl(fileno(fp), F_DUPFD_CLOEXEC, 0);
src/system/libnetwork/netresolv/resolv/res_send.c
692
fcntl(statp->_vcsock, F_SETFD, FD_CLOEXEC);
src/system/libnetwork/netresolv/resolv/res_send.c
886
fcntl(EXT(statp).nssocks[ns], F_SETFD, FD_CLOEXEC);
src/system/libroot/posix/dirent.cpp
151
fcntl(dirFD, F_SETFD, FD_CLOEXEC);
src/system/libroot/posix/glibc/include/not-cancel.h
44
fcntl (fd, cmd, val)
src/system/libroot/posix/glibc/libio/iofdopen.c
37
#define _IO_fcntl fcntl
src/system/libroot/posix/glibc/libio/iopopen.c
49
#define __fcntl fcntl
src/system/libroot/posix/spawn.cpp
464
fcntl(newfd, F_SETFD, FD_CLOEXEC);
src/system/libroot/posix/spawn.cpp
511
if (fcntl(fds[0], F_SETFD, FD_CLOEXEC) != 0
src/system/libroot/posix/spawn.cpp
512
|| fcntl(fds[1], F_SETFD, FD_CLOEXEC) != 0) {
src/system/libroot/posix/unistd/lockf.cpp
24
return fcntl(fileDescriptor, F_SETLK, &fileLock);
src/system/libroot/posix/unistd/lockf.cpp
28
return fcntl(fileDescriptor, F_SETLKW, &fileLock);
src/system/libroot/posix/unistd/lockf.cpp
32
return fcntl(fileDescriptor, F_SETLK, &fileLock);
src/system/libroot/posix/unistd/lockf.cpp
36
if (fcntl(fileDescriptor, F_GETLK, &fileLock) == -1)
src/tests/add-ons/kernel/drivers/tty/tty-test.cpp
308
if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0) {
src/tests/add-ons/kernel/drivers/tty/tty-test.cpp
329
if (fcntl(fd, F_SETFL, 0) < 0) {
src/tests/system/kernel/advisory_locking_test.cpp
38
if (fcntl(fd, F_SETLK, &flock) != 0) {
src/tests/system/kernel/syscall_restart_test.cpp
299
fcntl(fFDs[1], F_SETFL, O_NONBLOCK);
src/tests/system/kernel/syscall_restart_test.cpp
308
fcntl(fFDs[1], F_SETFL, 0);
src/tests/system/kernel/syscall_restart_test.cpp
607
fcntl(fClientSocket, F_SETFL, O_NONBLOCK);
src/tests/system/kernel/syscall_restart_test.cpp
626
fcntl(fClientSocket, F_SETFL, 0);
src/tests/system/libroot/posix/flock_test.cpp
105
if (fcntl(fd, F_SETLK, &flock) == -1) {
src/tests/system/libroot/posix/flock_test.cpp
113
if (fcntl(fd, F_SETLK, &flock) == -1) {
src/tests/system/libroot/posix/flock_test.cpp
121
if (fcntl(fd, F_SETLK, &flock) == 0) {
src/tests/system/libroot/posix/flock_test.cpp
130
if (fcntl(fd, F_SETLK, &flock) == -1) {
src/tests/system/libroot/posix/flock_test.cpp
139
if (fcntl(fd, F_SETLK, &flock) == -1) {
src/tests/system/libroot/posix/flock_test.cpp
159
if (fcntl(fd, F_SETLK, &flock) == -1) {
src/tests/system/libroot/posix/flock_test.cpp
33
if (fcntl(fd, F_SETLK, &flock) == 0) {
src/tests/system/libroot/posix/flock_test.cpp
43
if (fcntl(fd, F_SETLKW, &flock) == -1) {
src/tests/system/libroot/posix/flock_test.cpp
51
if (fcntl(fd, F_SETLK, &flock) == -1) {
src/tests/system/libroot/posix/flock_test.cpp
78
if (fcntl(fd, F_SETLK, &flock) == 0) {
src/tests/system/libroot/posix/flock_test.cpp
87
if (fcntl(fd, F_SETLK, &flock) == -1) {
src/tests/system/network/firefox_crash.cpp
26
fcntl(fd, F_SETFL, O_NONBLOCK);
src/tests/system/network/test4.c
17
int flags = fcntl(sock, F_GETFD);
src/tests/system/network/unix_dgram_test.cpp
204
status = fcntl(sock, F_SETFL, O_NONBLOCK);
src/tests/system/network/unix_dgram_test.cpp
209
status = fcntl(sock1, F_SETFL, O_NONBLOCK);
src/tests/system/network/unix_dgram_test.cpp
63
int flags1 = fcntl(sock, F_GETFL, 0);
src/tests/system/network/unix_dgram_test.cpp
68
status = fcntl(sock, F_SETFL, flags1 | O_NONBLOCK);
src/tests/system/network/unix_dgram_test.cpp
73
status = fcntl(sock1, F_SETFL, flags1 | O_NONBLOCK);