Searched refs:close (Results 1 – 25 of 30) sorted by relevance
12
/libuv/test/ |
H A D | test-pipe-close-stdout-read-stdin.c | 77 close(fd[1]); in TEST_IMPL() 81 close(0); in TEST_IMPL() 107 close(fd[1]); in TEST_IMPL() 108 close(fd[0]); in TEST_IMPL()
|
H A D | test-emfile.c | 76 close(maxfd); in TEST_IMPL() 83 close(maxfd - 1); in TEST_IMPL() 101 close(first_fd); in TEST_IMPL()
|
H A D | test-iouring-pollhup.c | 54 ASSERT_OK(close(duped_fd)); in read_data2() 73 ASSERT_OK(close(newpipefds[1])); in idle_cb() 102 ASSERT_OK(close(pipefds[1])); /* Close write end, generate POLLHUP. */ in TEST_IMPL()
|
H A D | test-poll.c | 26 # define close _close macro 136 r = close(sock); in close_socket() 652 ASSERT_OK(close(fd[0])); 662 ASSERT_OK(close(fd[0])); 667 ASSERT_OK(close(fd[0])); 668 ASSERT_OK(close(fd[1])); 677 ASSERT_OK(close(fd[0])); 678 ASSERT_OK(close(fd[1])); 703 ASSERT_OK(close(fd)); 725 ASSERT_OK(close(fd));
|
H A D | test-tty.c | 358 ASSERT_OK(close(fd)); in TEST_IMPL() 368 ASSERT_OK(close(fd)); in TEST_IMPL() 375 ASSERT_OK(close(fd)); in TEST_IMPL() 381 ASSERT_OK(close(fd)); /* TODO: it's indeterminate who owns fd now */ in TEST_IMPL() 392 ASSERT_OK(close(fd)); /* TODO: it's indeterminate who owns fd now */ in TEST_IMPL() 403 ASSERT_OK(close(fd)); /* TODO: it's indeterminate who owns fd now */ in TEST_IMPL() 458 ASSERT_OK(close(slave_fd)); in TEST_IMPL() 460 ASSERT_OK(close(master_fd)); in TEST_IMPL()
|
H A D | test-eintr-handling.c | 86 ASSERT_OK(close(pipe_fds[0])); in TEST_IMPL() 87 ASSERT_OK(close(pipe_fds[1])); in TEST_IMPL()
|
H A D | test-close-fd.c | 70 ASSERT_OK(close(fd[1])); in TEST_IMPL()
|
H A D | test-tcp-write-fail.c | 48 r = close(fd); in close_socket()
|
H A D | test-signal-pending-on-close.c | 87 close(pipefds[0]); in TEST_IMPL()
|
H A D | test-udp-open.c | 77 r = close(sock); in close_socket() 344 close(fd); in TEST_IMPL()
|
H A D | test-pipe-set-non-blocking.c | 124 ASSERT_OK(close(fd[0])); /* fd[1] is closed by uv_close(). */ in TEST_IMPL()
|
H A D | test-pipe-sendmsg.c | 159 close(fds[0]); in TEST_IMPL()
|
H A D | runner-unix.c | 50 if (close(fd) == 0 || errno == EINTR || errno == EINPROGRESS) in closefd()
|
H A D | test-tcp-open.c | 82 r = close(sock); in close_socket()
|
H A D | test-spawn.c | 37 # define close _close macro 1023 close(0); /* Close process stdin. */ in TEST_IMPL() 1805 ASSERT_OK(close(fd[1])); in TEST_IMPL()
|
/libuv/ |
H A D | Makefile.am | 163 test/test-close-fd.c \ 164 test/test-close-order.c \ 169 test/test-default-loop-close.c \ 211 test/test-loop-close.c \ 230 test/test-pipe-server-close.c \ 236 test/test-poll-close.c \ 251 test/test-shutdown-close.c \ 256 test/test-signal-pending-on-close.c \ 266 test/test-tcp-close-accept.c \ 269 test/test-tcp-close.c \ [all …]
|
H A D | CMakeLists.txt | 537 test/test-close-fd.c 538 test/test-close-order.c 543 test/test-default-loop-close.c 583 test/test-loop-close.c 604 test/test-pipe-server-close.c 609 test/test-poll-close.c 624 test/test-shutdown-close.c 629 test/test-signal-pending-on-close.c 639 test/test-tcp-close-accept.c 642 test/test-tcp-close.c [all …]
|
H A D | ChangeLog | 234 * unix: restore tty attributes on handle close (Ben Noordhuis) 2228 * unix,win: add uv_fs_{open,read,close}dir() (cjihrig) 2665 * unix: close signal pipe fds on unload (Ben Noordhuis) 3006 * unix: do not close invalid kqueue fd after fork (jBarz) 3973 * process: close process pipes safely (Santiago Gimeno) 4200 * win,pipe: don't close fd 0-2 (Bert Belder) 4206 * win,tty: don't close fd 0-2 (Bert Belder) 4208 * win,fs: don't close fd 0-2 (Bert Belder) 4394 * unix: don't close the fds we just setup (Sam Roberts) 5367 * process: close stdio after dup2'ing it (Fedor Indutny) [all …]
|
/libuv/docs/src/ |
H A D | poll.rst | 25 The user should not close a file descriptor while it is being polled by an 102 not close the socket while the handle is active. If the user does that
|
H A D | fs.rst | 229 Equivalent to :man:`close(2)`. 549 any attempts to close it or to use it after closing the fd may lead to malfunction. 557 Note that this consumes the argument, any attempts to close it or to use it
|
H A D | design.rst | 101 get the close callback called.
|
H A D | handle.rst | 140 arrival of the close callback.
|
/libuv/src/unix/ |
H A D | core.c | 603 extern int close$NOCANCEL(int); in uv__close_nocancel() 604 return close$NOCANCEL(fd); in uv__close_nocancel() 606 extern int close$NOCANCEL$UNIX2003(int); in uv__close_nocancel() 607 return close$NOCANCEL$UNIX2003(fd); in uv__close_nocancel() 619 return close(fd); in uv__close_nocancel()
|
/libuv/docs/src/guide/ |
H A D | filesystem.rst | 238 might be EOF, in which case we close all the streams, using the generic close
|
H A D | networking.rst | 15 not examples of good quality code. They leak memory and don't always close
|
Completed in 141 milliseconds
12