Searched refs:F_SETFL (Results 1 - 20 of 20) sorted by relevance
/fuchsia/zircon/system/utest/fs/ |
H A D | test-fcntl.cpp | 41 // 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 D | test-append.cpp | 132 ASSERT_EQ(fcntl(fd.get(), F_SETFL, 0), 0); 134 ASSERT_EQ(fcntl(fd.get(), F_SETFL, O_APPEND), 0);
|
H A D | test-access.cpp | 186 ASSERT_EQ(fcntl(fd, F_SETFL, flags | O_APPEND), 0);
|
/fuchsia/zircon/third_party/ulib/musl/src/stdio/ |
H A D | __fdopen.c | 42 fcntl(fd, F_SETFL, flags | O_APPEND);
|
H A D | freopen.c | 25 if (fcntl(f->fd, F_SETFL, fl) < 0)
|
/fuchsia/zircon/system/utest/fdio/ |
H A D | fdio_socket.c | 34 EXPECT_NE(-1, fcntl(fd, F_SETFL, flags | O_NONBLOCK), "Set NONBLOCK failed");
|
H A D | fdio_handle_fd.c | 69 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 D | fdio_socketpair.c | 66 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 D | main.cpp | 152 fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK);
|
/fuchsia/zircon/third_party/ulib/musl/include/ |
H A D | fcntl.h | 82 #define F_SETFL 4 macro
|
/fuchsia/zircon/system/uapp/psutils/ |
H A D | kstats.c | 247 fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK);
|
H A D | top.c | 286 fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK);
|
/fuchsia/zircon/third_party/uapp/dash/src/ |
H A D | show.c | 400 fcntl(fileno(tracefile), F_SETFL, flags | O_APPEND); local
|
H A D | input.c | 196 if (fcntl(0, F_SETFL, flags) >= 0) {
|
/fuchsia/zircon/system/host/bootserver/ |
H A D | bootserver.c | 214 if (fcntl(fd, F_SETFL, O_NONBLOCK) == 0) { 217 fcntl(fd, F_SETFL, 0);
|
H A D | tftp.c | 143 if ((new_flags != flags) && (fcntl(state->socket, F_SETFL, new_flags) != 0)) {
|
/fuchsia/zircon/system/host/netprotocol/ |
H A D | netcp.c | 144 if (fcntl(transport_info->socket, F_SETFL, flags)) {
|
/fuchsia/zircon/system/ulib/tftp/ |
H A D | tftp-example.c | 84 int ret = fcntl(connection->socket, F_SETFL, fl);
|
/fuchsia/zircon/system/host/xdc-server/ |
H A D | xdc-server.cpp | 370 int res = fcntl(client_fd, F_SETFL, flags | O_NONBLOCK);
|
/fuchsia/zircon/system/ulib/fdio/ |
H A D | unistd.c | 1234 case F_SETFL: {
|
Completed in 125 milliseconds