This is a listing of the public API of libuv. It's here to organize the bindings into logical submodules and mark the implementation progress.
uv_close
: close a request handle. This MUST be called on each handle before memory is released.luv_set_handler
: sets the event handler for a named event on the environment of this userdata
luv_new_udp
: Create a new udp instanceuv_udp_bind
: Bind to a IPv4 address and port.uv_udp_bind6
: Bind to a IPv6 address and port.uv_udp_getsockname
: ?uv_udp_send
: Send datauv_udp_send6
: send datauv_udp_recv_start
: start getting datauv_udp_recv_stop
: Stop listening for incoming datagrams.
luv_new_fs_watcher
: create a new file watcher
uv_shutdown
: Shutdown the outgoing (write) side of a duplex stream.uv_listen
: listen?uv_accept
: accept a connection after the callback has been calleduv_read_start
: start reading data from an incoming streamuv_read_stop
: stop the stream?
uv_read2_start
: extended read that can pass file descriptors
uv_write
: write data to a stream, handles ordering for you
uv_write2
: extended write that can pass file descriptors
luv_new_tcp
: Create a new tcp instanceuv_tcp_bind
: bind to an IPv4 portuv_tcp_bind6
: bind to an IPv6 portuv_tcp_getsockname
: get info about own end of socketuv_tcp_getpeername
: get info about remote enduv_tcp_connect
: make an IPv4 connectionuv_tcp_connect6
: make an IPv6 connection
luv_new_pipe
: Create a new pipe instanceuv_pipe_open
: Opens an existing file descriptor or HANDLE as a pipe.uv_pipe_bind
: ?uv_pipe_connect
: ?
luv_new_tty
: Create a new tty instanceuv_tty_set_mode
: Set mode. 0 for normal, 1 for raw.uv_tty_reset_mode
:uv_tty_get_winsize
: Gets the current Window size.
uv_fs_close
: close an FDuv_fs_open
: open a fileuv_fs_read
: read a chunk from a fileuv_fs_unlink
: unlink (delete) a fileuv_fs_write
: write a chunk to a fileuv_fs_mkdir
: make a directoryuv_fs_rmdir
: remove a directoryuv_fs_readdir
: read a directoryuv_fs_stat
: stat a fileuv_fs_fstat
: ?uv_fs_rename
: rename a fileuv_fs_fsync
: fsync a fileuv_fs_fdatasync
: ?uv_fs_ftruncate
: truncate a fileuv_fs_sendfile
: use kernel level sendfile?uv_fs_chmod
: change permissionsuv_fs_utime
:uv_fs_futime
:uv_fs_lstat
:uv_fs_link
:uv_fs_symlink
: ?uv_fs_readlink
:uv_fs_fchmod
:uv_fs_chown
:uv_fs_fchown
:
uv_spawn
: Initializes uv_process_t and starts the processuv_process_kill
: Kills the process with the specified signal
luv_new_timer
:uv_timer_start
: start a timeruv_timer_stop
: stop the timeruv_timer_again
: Stop the timer, and if it is repeating restart it using the repeat value as the timeoutuv_timer_set_repeat
: Set the repeat valueuv_timer_get_repeat
: get the repeat value
uv_update_time
: ?uv_now
: get current timestampuv_hrtime
: timestamp with nanosecond precision
uv_ares_init_options
: c-ares integration initialize and terminateuv_ares_destroy
: destroy c-ares integrationuv_getaddrinfo
: Asynchronous getaddrinfo(3).uv_freeaddrinfo
: cleanup
uv_run
: starts a loop and blocks till it's doneuv_ref
,uv_unref
: Manually modify the event loop's reference count. Useful if the user wants to have a handle or timeout that doesn't keep the loop alive.
uv_prepare_init
,uv_prepare_start
,uv_prepare_stop
: Every active prepare handle gets its callback called exactly once per loop iteration, just before the system blocks to wait for completed i/o.uv_check_init
,uv_check_start
,uv_check_stop
: Every active check handle gets its callback called exactly once per loop iteration, just after the system returns from blocking.uv_idle_init
,uv_idle_start
,uv_idle_stop
: Every active idle handle gets its callback called repeatedly until it is stopped. This happens after all other types of callbacks are processed. When there are multiple "idle" handles active, their callbacks are called in turn.uv_is_active
: Returns 1 if the prepare/check/idle handle has been started, 0 otherwise. For other handle types this always returns 1.
uv_guess_handle
: Used to detect what type of stream should be used with a given file descriptor. For isatty() functionality use this function and test for UV_TTY.uv_std_handle
: ??uv_queue_work
: generic work queue hook
uv_exepath
: find the path of the executableuv_get_free_memory
:uv_get_total_memory
:uv_loadavg
:
Indentation denotes inheritance
luv_handle
: Generic handleluv_udp
: a plain udp handleluv_fs_watcher
: a filesystem watcherluv_timer
:luv_process
: represents a sub procesluv_stream
: a fifo stream of dataluv_tcp
: a tcp network connectionluv_pipe
: a named socket or domain socketluv_tty
: the terminal as a stream/socket