Searched refs:F_SETFL (Results 1 - 20 of 20) sorted by relevance

/fuchsia/zircon/system/utest/fs/
H A Dtest-fcntl.cpp41 // Use F_SETFL; turn off O_APPEND
42 ASSERT_EQ(fcntl(fd, F_SETFL, flags & ~O_APPEND), 0, "Fcntl failed");
83 // Use F_SETFL; try to turn off everything except O_APPEND
86 ASSERT_EQ(fcntl(fd, F_SETFL, O_APPEND), 0, "Fcntl failed");
H A Dtest-append.cpp132 ASSERT_EQ(fcntl(fd.get(), F_SETFL, 0), 0);
134 ASSERT_EQ(fcntl(fd.get(), F_SETFL, O_APPEND), 0);
H A Dtest-access.cpp186 ASSERT_EQ(fcntl(fd, F_SETFL, flags | O_APPEND), 0);
/fuchsia/zircon/third_party/ulib/musl/src/stdio/
H A D__fdopen.c42 fcntl(fd, F_SETFL, flags | O_APPEND);
H A Dfreopen.c25 if (fcntl(f->fd, F_SETFL, fl) < 0)
/fuchsia/zircon/system/utest/fdio/
H A Dfdio_socket.c34 EXPECT_NE(-1, fcntl(fd, F_SETFL, flags | O_NONBLOCK), "Set NONBLOCK failed");
H A Dfdio_handle_fd.c69 status = fcntl(fds[0], F_SETFL, status);
171 status = fcntl(fds[0], F_SETFL, status);
253 int ret = fcntl(fd, F_SETFL, flags);
H A Dfdio_socketpair.c66 ASSERT_EQ(fcntl(fds[0], F_SETFL, O_NONBLOCK), 0, "");
67 ASSERT_EQ(fcntl(fds[1], F_SETFL, O_NONBLOCK), 0, "");
/fuchsia/zircon/system/uapp/kstress/
H A Dmain.cpp152 fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK);
/fuchsia/zircon/third_party/ulib/musl/include/
H A Dfcntl.h82 #define F_SETFL 4 macro
/fuchsia/zircon/system/uapp/psutils/
H A Dkstats.c247 fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK);
H A Dtop.c286 fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK);
/fuchsia/zircon/third_party/uapp/dash/src/
H A Dshow.c400 fcntl(fileno(tracefile), F_SETFL, flags | O_APPEND); local
H A Dinput.c196 if (fcntl(0, F_SETFL, flags) >= 0) {
/fuchsia/zircon/system/host/bootserver/
H A Dbootserver.c214 if (fcntl(fd, F_SETFL, O_NONBLOCK) == 0) {
217 fcntl(fd, F_SETFL, 0);
H A Dtftp.c143 if ((new_flags != flags) && (fcntl(state->socket, F_SETFL, new_flags) != 0)) {
/fuchsia/zircon/system/host/netprotocol/
H A Dnetcp.c144 if (fcntl(transport_info->socket, F_SETFL, flags)) {
/fuchsia/zircon/system/ulib/tftp/
H A Dtftp-example.c84 int ret = fcntl(connection->socket, F_SETFL, fl);
/fuchsia/zircon/system/host/xdc-server/
H A Dxdc-server.cpp370 int res = fcntl(client_fd, F_SETFL, flags | O_NONBLOCK);
/fuchsia/zircon/system/ulib/fdio/
H A Dunistd.c1234 case F_SETFL: {

Completed in 125 milliseconds