Home
last modified time | relevance | path

Searched refs:F_SETFL (Results 1 – 17 of 17) sorted by relevance

/haiku/src/system/libroot/posix/glibc/libio/
H A Diofdopen.c125 #ifdef F_SETFL in _IO_new_fdopen()
126 if (fcntl(fd, F_SETFL, fd_flags | O_APPEND) == -1) in _IO_new_fdopen()
/haiku/src/bin/debug/strace/
H A Dfcntl.cpp62 FCNTL_INFO_ENTRY(F_SETFL),
86 kFcntlTypeHandlers[F_SETFL] = new FlagsTypeHandler(kOpenFlags); in patch_fcntl()
/haiku/src/tests/system/kernel/
H A Dsyscall_restart_test.cpp299 fcntl(fFDs[1], F_SETFL, O_NONBLOCK); in Prepare()
308 fcntl(fFDs[1], F_SETFL, 0); in DoSyscall()
607 fcntl(fClientSocket, F_SETFL, O_NONBLOCK); in Prepare()
626 fcntl(fClientSocket, F_SETFL, 0); in Prepare()
/haiku/headers/posix/
H A Dfcntl.h19 #define F_SETFL 0x0010 /* set file status flags */ macro
/haiku/src/apps/expander/
H A DExpanderThread.cpp94 fcntl(fStdOut, F_SETFL, flags); in ThreadStartup()
97 fcntl(fStdErr, F_SETFL, flags); in ThreadStartup()
/haiku/src/tests/system/network/
H A Dunix_dgram_test.cpp68 status = fcntl(sock, F_SETFL, flags1 | O_NONBLOCK); in connect_test()
73 status = fcntl(sock1, F_SETFL, flags1 | O_NONBLOCK); in connect_test()
204 status = fcntl(sock, F_SETFL, O_NONBLOCK); in send_test()
209 status = fcntl(sock1, F_SETFL, O_NONBLOCK); in send_test()
H A Dfirefox_crash.cpp26 fcntl(fd, F_SETFL, O_NONBLOCK); in open_tcp_socket()
/haiku/src/tests/add-ons/kernel/drivers/tty/
H A Dtty-test.cpp308 if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0) { in WriteUntilBlock()
329 if (fcntl(fd, F_SETFL, 0) < 0) { in WriteUntilBlock()
/haiku/src/bin/screenmode/
H A Dscreenmode.cpp342 fcntl(STDIN_FILENO, F_SETFL, flags | O_NONBLOCK); in main()
/haiku/src/kits/device/
H A DSerialPort.cpp126 fcntl(ffd, F_SETFL, flags & ~O_NONBLOCK); in Open()
/haiku/src/kits/network/libnetapi/
H A DNetEndpoint.cpp291 if (fcntl(fSocket, F_SETFL, flags) < 0) { in SetNonBlocking()
/haiku/src/kits/network/libnetservices2/
H A DHttpSession.cpp792 if (fcntl(fSocket->Socket(), F_SETFL, flags | O_NONBLOCK) != 0) in OpenConnection()
/haiku/src/apps/poorman/libhttpd/
H A Dlibhttpd.c427 if ( fcntl( listen_fd, F_SETFL, flags | O_NDELAY ) < 0 ) in httpd_initialize_listen_socket()
597 (void) fcntl( fd, F_SETFL, newflags ); in httpd_set_ndelay()
613 (void) fcntl( fd, F_SETFL, newflags ); in httpd_clear_ndelay()
/haiku/src/system/kernel/fs/
H A Dfd.cpp486 return (kernelFD ? _kern_fcntl : _user_fcntl)(fd, F_SETFL, argument); in fd_ioctl()
H A Dvfs.cpp6256 case F_SETFL: in common_fcntl()
9609 common_fcntl(fds[0], F_SETFL, flags & O_NONBLOCK, false); in _user_create_pipe()
/haiku/src/bin/network/ftpd/
H A Dftpd.c1989 fcntl(pdata, F_SETFL, flags | O_NONBLOCK) == -1) in dataconn()
2001 fcntl(pdata, F_SETFL, flags & ~O_NONBLOCK) == -1) in dataconn()
/haiku/headers/private/fs_shell/
H A Dfssh_api_wrapper.h757 #define F_SETFL FSSH_F_SETFL macro