Home
last modified time | relevance | path

Searched refs:close (Results 1 – 25 of 30) sorted by relevance

12

/libuv/test/
H A Dtest-pipe-close-stdout-read-stdin.c77 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 Dtest-emfile.c76 close(maxfd); in TEST_IMPL()
83 close(maxfd - 1); in TEST_IMPL()
101 close(first_fd); in TEST_IMPL()
H A Dtest-iouring-pollhup.c54 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 Dtest-poll.c26 # 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 Dtest-tty.c358 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 Dtest-eintr-handling.c86 ASSERT_OK(close(pipe_fds[0])); in TEST_IMPL()
87 ASSERT_OK(close(pipe_fds[1])); in TEST_IMPL()
H A Dtest-close-fd.c70 ASSERT_OK(close(fd[1])); in TEST_IMPL()
H A Dtest-tcp-write-fail.c48 r = close(fd); in close_socket()
H A Dtest-signal-pending-on-close.c87 close(pipefds[0]); in TEST_IMPL()
H A Dtest-udp-open.c77 r = close(sock); in close_socket()
344 close(fd); in TEST_IMPL()
H A Dtest-pipe-set-non-blocking.c124 ASSERT_OK(close(fd[0])); /* fd[1] is closed by uv_close(). */ in TEST_IMPL()
H A Dtest-pipe-sendmsg.c159 close(fds[0]); in TEST_IMPL()
H A Drunner-unix.c50 if (close(fd) == 0 || errno == EINTR || errno == EINPROGRESS) in closefd()
H A Dtest-tcp-open.c82 r = close(sock); in close_socket()
H A Dtest-spawn.c37 # 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 DMakefile.am163 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 DCMakeLists.txt537 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 DChangeLog234 * 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 Dpoll.rst25 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 Dfs.rst229 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 Ddesign.rst101 get the close callback called.
H A Dhandle.rst140 arrival of the close callback.
/libuv/src/unix/
H A Dcore.c603 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 Dfilesystem.rst238 might be EOF, in which case we close all the streams, using the generic close
H A Dnetworking.rst15 not examples of good quality code. They leak memory and don't always close

Completed in 58 milliseconds

12