Rizin
unix-like reverse engineering framework and cli tools
|
#include <assert.h>
#include <io.h>
#include <stdlib.h>
#include "uv.h"
#include "internal.h"
#include "handle-inl.h"
Go to the source code of this file.
Functions | |
uv_handle_type | uv_guess_handle (uv_file file) |
int | uv_is_active (const uv_handle_t *handle) |
void | uv_close (uv_handle_t *handle, uv_close_cb cb) |
int | uv_is_closing (const uv_handle_t *handle) |
uv_os_fd_t | uv_get_osfhandle (int fd) |
int | uv_open_osfhandle (uv_os_fd_t os_fd) |
void uv_close | ( | uv_handle_t * | handle, |
uv_close_cb | cb | ||
) |
Definition at line 67 of file handle.c.
References assert(), cb, handle, loop, uv__async_close(), uv__check_close(), uv__fs_event_close(), uv__fs_poll_close(), uv__handle_closing, uv__idle_close(), uv__is_closing, uv__make_close_pending(), uv__pipe_close(), uv__poll_close(), uv__prepare_close(), uv__process_close(), uv__signal_close(), uv__stream_close(), uv__tcp_close(), uv__timer_close(), uv__udp_close(), uv_async_close(), uv_check_stop(), uv_fs_event_close(), UV_HANDLE_CLOSING, uv_idle_stop(), uv_pipe_close(), uv_poll_close(), uv_prepare_stop(), uv_process_close(), uv_signal_close(), uv_tcp_close(), uv_timer_stop(), uv_tty_close(), uv_udp_close(), and uv_want_endgame().
Referenced by after(), cleanup_handles(), close_process_handle(), destroy_curl_context(), echo_read(), eof_timer_destroy(), on_exit(), on_new_connection(), on_read(), poll_cb(), read_stdin(), uv__stream_close(), uv_fs_poll_stop(), and uv_tcp_close_reset().
uv_os_fd_t uv_get_osfhandle | ( | int | fd | ) |
uv_handle_type uv_guess_handle | ( | uv_file | file | ) |
Definition at line 31 of file handle.c.
References AF_INET, AF_INET6, AF_UNIX, DWORD, fstat, handle, HANDLE, len, s, S_ISREG, SO_TYPE, SOCK_DGRAM, SOCK_STREAM, SOL_SOCKET, type, uv__get_osfhandle(), UV_FILE, and UV_UNKNOWN_HANDLE.
Referenced by main().
int uv_is_active | ( | const uv_handle_t * | handle | ) |
Definition at line 61 of file handle.c.
References handle, uv__is_active, UV_HANDLE_ACTIVE, and UV_HANDLE_CLOSING.
Referenced by poll_cb(), uv_fs_poll_getpath(), uv_fs_poll_start(), and uv_fs_poll_stop().
int uv_is_closing | ( | const uv_handle_t * | handle | ) |
Definition at line 151 of file handle.c.
References handle, uv__is_closing, UV_HANDLE_CLOSED, and UV_HANDLE_CLOSING.
int uv_open_osfhandle | ( | uv_os_fd_t | os_fd | ) |