Classes | Macros | Typedefs | Enumerations | Functions
uv.h File Reference
#include "uv/errno.h"
#include "uv/version.h"
#include <stddef.h>
#include <stdio.h>
#include <stdint.h>
#include "uv/unix.h"
Include dependency graph for uv.h:

Go to the source code of this file.

Classes

union  uv_any_handle
 
union  uv_any_req
 
struct  uv_async_s
 
struct  uv_check_s
 
struct  uv_connect_s
 
struct  uv_cpu_info_s
 
struct  uv_cpu_times_s
 
struct  uv_dir_s
 
struct  uv_dirent_s
 
struct  uv_env_item_s
 
struct  uv_fs_event_s
 
struct  uv_fs_poll_s
 
struct  uv_fs_s
 
struct  uv_getaddrinfo_s
 
struct  uv_getnameinfo_s
 
struct  uv_handle_s
 
struct  uv_idle_s
 
struct  uv_interface_address_s
 
struct  uv_loop_s
 
struct  uv_passwd_s
 
struct  uv_pipe_s
 
struct  uv_poll_s
 
struct  uv_prepare_s
 
struct  uv_process_options_s
 
struct  uv_process_s
 
struct  uv_random_s
 
struct  uv_req_s
 
struct  uv_rusage_t
 
struct  uv_shutdown_s
 
struct  uv_signal_s
 
struct  uv_stat_t
 
struct  uv_statfs_s
 
struct  uv_stdio_container_s
 
struct  uv_stream_s
 
struct  uv_tcp_s
 
struct  uv_thread_options_s
 
struct  uv_timer_s
 
struct  uv_timespec_t
 
struct  uv_timeval64_t
 
struct  uv_timeval_t
 
struct  uv_tty_s
 
struct  uv_udp_s
 
struct  uv_udp_send_s
 
struct  uv_utsname_s
 
struct  uv_work_s
 
struct  uv_write_s
 

Macros

#define UV_ERRNO_MAP(XX)
 
#define UV_EXTERN   /* nothing */
 
#define UV_FS_COPYFILE_EXCL   0x0001
 
#define UV_FS_COPYFILE_FICLONE   0x0002
 
#define UV_FS_COPYFILE_FICLONE_FORCE   0x0004
 
#define UV_FS_SYMLINK_DIR   0x0001
 
#define UV_FS_SYMLINK_JUNCTION   0x0002
 
#define UV_HANDLE_FIELDS
 
#define UV_HANDLE_TYPE_MAP(XX)
 
#define UV_IF_NAMESIZE   (16 + 1)
 
#define UV_MAXHOSTNAMESIZE   256
 
#define UV_PRIORITY_ABOVE_NORMAL   -7
 
#define UV_PRIORITY_BELOW_NORMAL   10
 
#define UV_PRIORITY_HIGH   -14
 
#define UV_PRIORITY_HIGHEST   -20
 
#define UV_PRIORITY_LOW   19
 
#define UV_PRIORITY_NORMAL   0
 
#define UV_REQ_FIELDS
 
#define UV_REQ_TYPE_MAP(XX)
 
#define UV_STREAM_FIELDS
 
#define XX(_, name)   uv_ ## name ## _t name;
 
#define XX(code, _)   UV_ ## code = UV__ ## code,
 
#define XX(uc, lc)   UV_##uc,
 
#define XX(uc, lc)   UV_##uc,
 

Typedefs

typedef void(* uv_after_work_cb) (uv_work_t *req, int status)
 
typedef void(* uv_alloc_cb) (uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf)
 
typedef void(* uv_async_cb) (uv_async_t *handle)
 
typedef struct uv_async_s uv_async_t
 
typedef void *(* uv_calloc_func) (size_t count, size_t size)
 
typedef void(* uv_check_cb) (uv_check_t *handle)
 
typedef struct uv_check_s uv_check_t
 
typedef void(* uv_close_cb) (uv_handle_t *handle)
 
typedef void(* uv_connect_cb) (uv_connect_t *req, int status)
 
typedef struct uv_connect_s uv_connect_t
 
typedef void(* uv_connection_cb) (uv_stream_t *server, int status)
 
typedef struct uv_cpu_info_s uv_cpu_info_t
 
typedef struct uv_dir_s uv_dir_t
 
typedef struct uv_dirent_s uv_dirent_t
 
typedef struct uv_env_item_s uv_env_item_t
 
typedef void(* uv_exit_cb) (uv_process_t *, int64_t exit_status, int term_signal)
 
typedef void(* uv_free_func) (void *ptr)
 
typedef void(* uv_fs_cb) (uv_fs_t *req)
 
typedef void(* uv_fs_event_cb) (uv_fs_event_t *handle, const char *filename, int events, int status)
 
typedef struct uv_fs_event_s uv_fs_event_t
 
typedef void(* uv_fs_poll_cb) (uv_fs_poll_t *handle, int status, const uv_stat_t *prev, const uv_stat_t *curr)
 
typedef struct uv_fs_poll_s uv_fs_poll_t
 
typedef struct uv_fs_s uv_fs_t
 
typedef void(* uv_getaddrinfo_cb) (uv_getaddrinfo_t *req, int status, struct addrinfo *res)
 
typedef struct uv_getaddrinfo_s uv_getaddrinfo_t
 
typedef void(* uv_getnameinfo_cb) (uv_getnameinfo_t *req, int status, const char *hostname, const char *service)
 
typedef struct uv_getnameinfo_s uv_getnameinfo_t
 
typedef struct uv_handle_s uv_handle_t
 
typedef void(* uv_idle_cb) (uv_idle_t *handle)
 
typedef struct uv_idle_s uv_idle_t
 
typedef struct uv_interface_address_s uv_interface_address_t
 
typedef struct uv_loop_s uv_loop_t
 
typedef void *(* uv_malloc_func) (size_t size)
 
typedef struct uv_passwd_s uv_passwd_t
 
typedef struct uv_pipe_s uv_pipe_t
 
typedef void(* uv_poll_cb) (uv_poll_t *handle, int status, int events)
 
typedef struct uv_poll_s uv_poll_t
 
typedef void(* uv_prepare_cb) (uv_prepare_t *handle)
 
typedef struct uv_prepare_s uv_prepare_t
 
typedef struct uv_process_options_s uv_process_options_t
 
typedef struct uv_process_s uv_process_t
 
typedef void(* uv_random_cb) (uv_random_t *req, int status, void *buf, size_t buflen)
 
typedef struct uv_random_s uv_random_t
 
typedef void(* uv_read_cb) (uv_stream_t *stream, ssize_t nread, const uv_buf_t *buf)
 
typedef void *(* uv_realloc_func) (void *ptr, size_t size)
 
typedef struct uv_req_s uv_req_t
 
typedef void(* uv_shutdown_cb) (uv_shutdown_t *req, int status)
 
typedef struct uv_shutdown_s uv_shutdown_t
 
typedef void(* uv_signal_cb) (uv_signal_t *handle, int signum)
 
typedef struct uv_signal_s uv_signal_t
 
typedef struct uv_statfs_s uv_statfs_t
 
typedef struct uv_stdio_container_s uv_stdio_container_t
 
typedef struct uv_stream_s uv_stream_t
 
typedef struct uv_tcp_s uv_tcp_t
 
typedef void(* uv_thread_cb) (void *arg)
 
typedef struct uv_thread_options_s uv_thread_options_t
 
typedef void(* uv_timer_cb) (uv_timer_t *handle)
 
typedef struct uv_timer_s uv_timer_t
 
typedef struct uv_tty_s uv_tty_t
 
typedef void(* uv_udp_recv_cb) (uv_udp_t *handle, ssize_t nread, const uv_buf_t *buf, const struct sockaddr *addr, unsigned flags)
 
typedef void(* uv_udp_send_cb) (uv_udp_send_t *req, int status)
 
typedef struct uv_udp_send_s uv_udp_send_t
 
typedef struct uv_udp_s uv_udp_t
 
typedef struct uv_utsname_s uv_utsname_t
 
typedef void(* uv_walk_cb) (uv_handle_t *handle, void *arg)
 
typedef void(* uv_work_cb) (uv_work_t *req)
 
typedef struct uv_work_s uv_work_t
 
typedef void(* uv_write_cb) (uv_write_t *req, int status)
 
typedef struct uv_write_s uv_write_t
 

Enumerations

enum  uv_dirent_type_t {
  UV_DIRENT_UNKNOWN, UV_DIRENT_FILE, UV_DIRENT_DIR, UV_DIRENT_LINK,
  UV_DIRENT_FIFO, UV_DIRENT_SOCKET, UV_DIRENT_CHAR, UV_DIRENT_BLOCK
}
 
enum  uv_errno_t { UV_ERRNO_MAX = UV__EOF - 1 }
 
enum  uv_fs_event { UV_RENAME = 1, UV_CHANGE = 2 }
 
enum  uv_fs_event_flags { UV_FS_EVENT_WATCH_ENTRY = 1, UV_FS_EVENT_STAT = 2, UV_FS_EVENT_RECURSIVE = 4 }
 
enum  uv_fs_type {
  UV_FS_UNKNOWN = -1, UV_FS_CUSTOM, UV_FS_OPEN, UV_FS_CLOSE,
  UV_FS_READ, UV_FS_WRITE, UV_FS_SENDFILE, UV_FS_STAT,
  UV_FS_LSTAT, UV_FS_FSTAT, UV_FS_FTRUNCATE, UV_FS_UTIME,
  UV_FS_FUTIME, UV_FS_ACCESS, UV_FS_CHMOD, UV_FS_FCHMOD,
  UV_FS_FSYNC, UV_FS_FDATASYNC, UV_FS_UNLINK, UV_FS_RMDIR,
  UV_FS_MKDIR, UV_FS_MKDTEMP, UV_FS_RENAME, UV_FS_SCANDIR,
  UV_FS_LINK, UV_FS_SYMLINK, UV_FS_READLINK, UV_FS_CHOWN,
  UV_FS_FCHOWN, UV_FS_REALPATH, UV_FS_COPYFILE, UV_FS_LCHOWN,
  UV_FS_OPENDIR, UV_FS_READDIR, UV_FS_CLOSEDIR, UV_FS_STATFS,
  UV_FS_MKSTEMP, UV_FS_LUTIME
}
 
enum  uv_handle_type { UV_UNKNOWN_HANDLE = 0, UV_FILE, UV_HANDLE_TYPE_MAX }
 
enum  uv_loop_option { UV_LOOP_BLOCK_SIGNAL }
 
enum  uv_membership { UV_LEAVE_GROUP = 0, UV_JOIN_GROUP }
 
enum  uv_poll_event { UV_READABLE = 1, UV_WRITABLE = 2, UV_DISCONNECT = 4, UV_PRIORITIZED = 8 }
 
enum  uv_process_flags {
  UV_PROCESS_SETUID = (1 << 0), UV_PROCESS_SETGID = (1 << 1), UV_PROCESS_WINDOWS_VERBATIM_ARGUMENTS = (1 << 2), UV_PROCESS_DETACHED = (1 << 3),
  UV_PROCESS_WINDOWS_HIDE = (1 << 4), UV_PROCESS_WINDOWS_HIDE_CONSOLE = (1 << 5), UV_PROCESS_WINDOWS_HIDE_GUI = (1 << 6)
}
 
enum  uv_req_type { UV_UNKNOWN_REQ = 0, UV_REQ_TYPE_MAX }
 
enum  uv_run_mode { UV_RUN_DEFAULT = 0, UV_RUN_ONCE, UV_RUN_NOWAIT }
 
enum  uv_stdio_flags {
  UV_IGNORE = 0x00, UV_CREATE_PIPE = 0x01, UV_INHERIT_FD = 0x02, UV_INHERIT_STREAM = 0x04,
  UV_READABLE_PIPE = 0x10, UV_WRITABLE_PIPE = 0x20, UV_OVERLAPPED_PIPE = 0x40
}
 
enum  uv_tcp_flags { UV_TCP_IPV6ONLY = 1 }
 
enum  uv_thread_create_flags { UV_THREAD_NO_FLAGS = 0x00, UV_THREAD_HAS_STACK_SIZE = 0x01 }
 
enum  uv_tty_mode_t { UV_TTY_MODE_NORMAL, UV_TTY_MODE_RAW, UV_TTY_MODE_IO }
 
enum  uv_tty_vtermstate_t { UV_TTY_SUPPORTED, UV_TTY_UNSUPPORTED }
 
enum  uv_udp_flags {
  UV_UDP_IPV6ONLY = 1, UV_UDP_PARTIAL = 2, UV_UDP_REUSEADDR = 4, UV_UDP_MMSG_CHUNK = 8,
  UV_UDP_RECVMMSG = 256
}
 

Functions

UV_EXTERN int uv_accept (uv_stream_t *server, uv_stream_t *client)
 
UV_EXTERN int uv_async_init (uv_loop_t *, uv_async_t *async, uv_async_cb async_cb)
 
UV_EXTERN int uv_async_send (uv_async_t *async)
 
UV_EXTERN int uv_backend_fd (const uv_loop_t *)
 
UV_EXTERN int uv_backend_timeout (const uv_loop_t *)
 
UV_EXTERN void uv_barrier_destroy (uv_barrier_t *barrier)
 
UV_EXTERN int uv_barrier_init (uv_barrier_t *barrier, unsigned int count)
 
UV_EXTERN int uv_barrier_wait (uv_barrier_t *barrier)
 
UV_EXTERN uv_buf_t uv_buf_init (char *base, unsigned int len)
 
UV_EXTERN int uv_cancel (uv_req_t *req)
 
UV_EXTERN int uv_chdir (const char *dir)
 
UV_EXTERN int uv_check_init (uv_loop_t *, uv_check_t *check)
 
UV_EXTERN int uv_check_start (uv_check_t *check, uv_check_cb cb)
 
UV_EXTERN int uv_check_stop (uv_check_t *check)
 
UV_EXTERN void uv_close (uv_handle_t *handle, uv_close_cb close_cb)
 
UV_EXTERN void uv_cond_broadcast (uv_cond_t *cond)
 
UV_EXTERN void uv_cond_destroy (uv_cond_t *cond)
 
UV_EXTERN int uv_cond_init (uv_cond_t *cond)
 
UV_EXTERN void uv_cond_signal (uv_cond_t *cond)
 
UV_EXTERN int uv_cond_timedwait (uv_cond_t *cond, uv_mutex_t *mutex, uint64_t timeout)
 
UV_EXTERN void uv_cond_wait (uv_cond_t *cond, uv_mutex_t *mutex)
 
UV_EXTERN int uv_cpu_info (uv_cpu_info_t **cpu_infos, int *count)
 
UV_EXTERN int uv_cwd (char *buffer, size_t *size)
 
UV_EXTERN uv_loop_tuv_default_loop (void)
 
UV_EXTERN void uv_disable_stdio_inheritance (void)
 
UV_EXTERN void uv_dlclose (uv_lib_t *lib)
 
const UV_EXTERN char * uv_dlerror (const uv_lib_t *lib)
 
UV_EXTERN int uv_dlopen (const char *filename, uv_lib_t *lib)
 
UV_EXTERN int uv_dlsym (uv_lib_t *lib, const char *name, void **ptr)
 
const UV_EXTERN char * uv_err_name (int err)
 
UV_EXTERN char * uv_err_name_r (int err, char *buf, size_t buflen)
 
UV_EXTERN int uv_exepath (char *buffer, size_t *size)
 
UV_EXTERN int uv_fileno (const uv_handle_t *handle, uv_os_fd_t *fd)
 
UV_EXTERN void uv_free_cpu_info (uv_cpu_info_t *cpu_infos, int count)
 
UV_EXTERN void uv_free_interface_addresses (uv_interface_address_t *addresses, int count)
 
UV_EXTERN void uv_freeaddrinfo (struct addrinfo *ai)
 
UV_EXTERN int uv_fs_access (uv_loop_t *loop, uv_fs_t *req, const char *path, int mode, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_chmod (uv_loop_t *loop, uv_fs_t *req, const char *path, int mode, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_chown (uv_loop_t *loop, uv_fs_t *req, const char *path, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_close (uv_loop_t *loop, uv_fs_t *req, uv_file file, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_closedir (uv_loop_t *loop, uv_fs_t *req, uv_dir_t *dir, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_copyfile (uv_loop_t *loop, uv_fs_t *req, const char *path, const char *new_path, int flags, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_event_getpath (uv_fs_event_t *handle, char *buffer, size_t *size)
 
UV_EXTERN int uv_fs_event_init (uv_loop_t *loop, uv_fs_event_t *handle)
 
UV_EXTERN int uv_fs_event_start (uv_fs_event_t *handle, uv_fs_event_cb cb, const char *path, unsigned int flags)
 
UV_EXTERN int uv_fs_event_stop (uv_fs_event_t *handle)
 
UV_EXTERN int uv_fs_fchmod (uv_loop_t *loop, uv_fs_t *req, uv_file file, int mode, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_fchown (uv_loop_t *loop, uv_fs_t *req, uv_file file, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_fdatasync (uv_loop_t *loop, uv_fs_t *req, uv_file file, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_fstat (uv_loop_t *loop, uv_fs_t *req, uv_file file, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_fsync (uv_loop_t *loop, uv_fs_t *req, uv_file file, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_ftruncate (uv_loop_t *loop, uv_fs_t *req, uv_file file, int64_t offset, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_futime (uv_loop_t *loop, uv_fs_t *req, uv_file file, double atime, double mtime, uv_fs_cb cb)
 
const UV_EXTERN char * uv_fs_get_path (const uv_fs_t *)
 
UV_EXTERN void * uv_fs_get_ptr (const uv_fs_t *)
 
UV_EXTERN ssize_t uv_fs_get_result (const uv_fs_t *)
 
UV_EXTERN uv_stat_tuv_fs_get_statbuf (uv_fs_t *)
 
UV_EXTERN uv_fs_type uv_fs_get_type (const uv_fs_t *)
 
UV_EXTERN int uv_fs_lchown (uv_loop_t *loop, uv_fs_t *req, const char *path, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_link (uv_loop_t *loop, uv_fs_t *req, const char *path, const char *new_path, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_lstat (uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_lutime (uv_loop_t *loop, uv_fs_t *req, const char *path, double atime, double mtime, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_mkdir (uv_loop_t *loop, uv_fs_t *req, const char *path, int mode, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_mkdtemp (uv_loop_t *loop, uv_fs_t *req, const char *tpl, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_mkstemp (uv_loop_t *loop, uv_fs_t *req, const char *tpl, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_open (uv_loop_t *loop, uv_fs_t *req, const char *path, int flags, int mode, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_opendir (uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_poll_getpath (uv_fs_poll_t *handle, char *buffer, size_t *size)
 
UV_EXTERN int uv_fs_poll_init (uv_loop_t *loop, uv_fs_poll_t *handle)
 
UV_EXTERN int uv_fs_poll_start (uv_fs_poll_t *handle, uv_fs_poll_cb poll_cb, const char *path, unsigned int interval)
 
UV_EXTERN int uv_fs_poll_stop (uv_fs_poll_t *handle)
 
UV_EXTERN int uv_fs_read (uv_loop_t *loop, uv_fs_t *req, uv_file file, const uv_buf_t bufs[], unsigned int nbufs, int64_t offset, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_readdir (uv_loop_t *loop, uv_fs_t *req, uv_dir_t *dir, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_readlink (uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_realpath (uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_rename (uv_loop_t *loop, uv_fs_t *req, const char *path, const char *new_path, uv_fs_cb cb)
 
UV_EXTERN void uv_fs_req_cleanup (uv_fs_t *req)
 
UV_EXTERN int uv_fs_rmdir (uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_scandir (uv_loop_t *loop, uv_fs_t *req, const char *path, int flags, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_scandir_next (uv_fs_t *req, uv_dirent_t *ent)
 
UV_EXTERN int uv_fs_sendfile (uv_loop_t *loop, uv_fs_t *req, uv_file out_fd, uv_file in_fd, int64_t in_offset, size_t length, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_stat (uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_statfs (uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_symlink (uv_loop_t *loop, uv_fs_t *req, const char *path, const char *new_path, int flags, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_unlink (uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_utime (uv_loop_t *loop, uv_fs_t *req, const char *path, double atime, double mtime, uv_fs_cb cb)
 
UV_EXTERN int uv_fs_write (uv_loop_t *loop, uv_fs_t *req, uv_file file, const uv_buf_t bufs[], unsigned int nbufs, int64_t offset, uv_fs_cb cb)
 
UV_EXTERN uint64_t uv_get_constrained_memory (void)
 
UV_EXTERN uint64_t uv_get_free_memory (void)
 
UV_EXTERN uv_os_fd_t uv_get_osfhandle (int fd)
 
UV_EXTERN int uv_get_process_title (char *buffer, size_t size)
 
UV_EXTERN uint64_t uv_get_total_memory (void)
 
UV_EXTERN int uv_getaddrinfo (uv_loop_t *loop, uv_getaddrinfo_t *req, uv_getaddrinfo_cb getaddrinfo_cb, const char *node, const char *service, const struct addrinfo *hints)
 
UV_EXTERN int uv_getnameinfo (uv_loop_t *loop, uv_getnameinfo_t *req, uv_getnameinfo_cb getnameinfo_cb, const struct sockaddr *addr, int flags)
 
UV_EXTERN int uv_getrusage (uv_rusage_t *rusage)
 
UV_EXTERN int uv_gettimeofday (uv_timeval64_t *tv)
 
UV_EXTERN uv_handle_type uv_guess_handle (uv_file file)
 
UV_EXTERN void * uv_handle_get_data (const uv_handle_t *handle)
 
UV_EXTERN uv_loop_tuv_handle_get_loop (const uv_handle_t *handle)
 
UV_EXTERN uv_handle_type uv_handle_get_type (const uv_handle_t *handle)
 
UV_EXTERN void uv_handle_set_data (uv_handle_t *handle, void *data)
 
UV_EXTERN size_t uv_handle_size (uv_handle_type type)
 
const UV_EXTERN char * uv_handle_type_name (uv_handle_type type)
 
UV_EXTERN int uv_has_ref (const uv_handle_t *)
 
UV_EXTERN uint64_t uv_hrtime (void)
 
UV_EXTERN int uv_idle_init (uv_loop_t *, uv_idle_t *idle)
 
UV_EXTERN int uv_idle_start (uv_idle_t *idle, uv_idle_cb cb)
 
UV_EXTERN int uv_idle_stop (uv_idle_t *idle)
 
UV_EXTERN int uv_if_indextoiid (unsigned int ifindex, char *buffer, size_t *size)
 
UV_EXTERN int uv_if_indextoname (unsigned int ifindex, char *buffer, size_t *size)
 
UV_EXTERN int uv_inet_ntop (int af, const void *src, char *dst, size_t size)
 
UV_EXTERN int uv_inet_pton (int af, const char *src, void *dst)
 
UV_EXTERN int uv_interface_addresses (uv_interface_address_t **addresses, int *count)
 
UV_EXTERN int uv_ip4_addr (const char *ip, int port, struct sockaddr_in *addr)
 
UV_EXTERN int uv_ip4_name (const struct sockaddr_in *src, char *dst, size_t size)
 
UV_EXTERN int uv_ip6_addr (const char *ip, int port, struct sockaddr_in6 *addr)
 
UV_EXTERN int uv_ip6_name (const struct sockaddr_in6 *src, char *dst, size_t size)
 
UV_EXTERN int uv_is_active (const uv_handle_t *handle)
 
UV_EXTERN int uv_is_closing (const uv_handle_t *handle)
 
UV_EXTERN int uv_is_readable (const uv_stream_t *handle)
 
UV_EXTERN int uv_is_writable (const uv_stream_t *handle)
 
UV_EXTERN int uv_key_create (uv_key_t *key)
 
UV_EXTERN void uv_key_delete (uv_key_t *key)
 
UV_EXTERN void * uv_key_get (uv_key_t *key)
 
UV_EXTERN void uv_key_set (uv_key_t *key, void *value)
 
UV_EXTERN int uv_kill (int pid, int signum)
 
UV_EXTERN int uv_listen (uv_stream_t *stream, int backlog, uv_connection_cb cb)
 
UV_EXTERN void uv_loadavg (double avg[3])
 
UV_EXTERN int uv_loop_alive (const uv_loop_t *loop)
 
UV_EXTERN int uv_loop_close (uv_loop_t *loop)
 
UV_EXTERN int uv_loop_configure (uv_loop_t *loop, uv_loop_option option,...)
 
UV_EXTERN void uv_loop_delete (uv_loop_t *)
 
UV_EXTERN int uv_loop_fork (uv_loop_t *loop)
 
UV_EXTERN void * uv_loop_get_data (const uv_loop_t *)
 
UV_EXTERN int uv_loop_init (uv_loop_t *loop)
 
UV_EXTERN uv_loop_tuv_loop_new (void)
 
UV_EXTERN void uv_loop_set_data (uv_loop_t *, void *data)
 
UV_EXTERN size_t uv_loop_size (void)
 
UV_EXTERN void uv_mutex_destroy (uv_mutex_t *handle)
 
UV_EXTERN int uv_mutex_init (uv_mutex_t *handle)
 
UV_EXTERN int uv_mutex_init_recursive (uv_mutex_t *handle)
 
UV_EXTERN void uv_mutex_lock (uv_mutex_t *handle)
 
UV_EXTERN int uv_mutex_trylock (uv_mutex_t *handle)
 
UV_EXTERN void uv_mutex_unlock (uv_mutex_t *handle)
 
UV_EXTERN uint64_t uv_now (const uv_loop_t *)
 
UV_EXTERN void uv_once (uv_once_t *guard, void(*callback)(void))
 
UV_EXTERN int uv_open_osfhandle (uv_os_fd_t os_fd)
 
UV_EXTERN int uv_os_environ (uv_env_item_t **envitems, int *count)
 
UV_EXTERN void uv_os_free_environ (uv_env_item_t *envitems, int count)
 
UV_EXTERN void uv_os_free_passwd (uv_passwd_t *pwd)
 
UV_EXTERN int uv_os_get_passwd (uv_passwd_t *pwd)
 
UV_EXTERN int uv_os_getenv (const char *name, char *buffer, size_t *size)
 
UV_EXTERN int uv_os_gethostname (char *buffer, size_t *size)
 
UV_EXTERN uv_pid_t uv_os_getpid (void)
 
UV_EXTERN uv_pid_t uv_os_getppid (void)
 
UV_EXTERN int uv_os_getpriority (uv_pid_t pid, int *priority)
 
UV_EXTERN int uv_os_homedir (char *buffer, size_t *size)
 
UV_EXTERN int uv_os_setenv (const char *name, const char *value)
 
UV_EXTERN int uv_os_setpriority (uv_pid_t pid, int priority)
 
UV_EXTERN int uv_os_tmpdir (char *buffer, size_t *size)
 
UV_EXTERN int uv_os_uname (uv_utsname_t *buffer)
 
UV_EXTERN int uv_os_unsetenv (const char *name)
 
UV_EXTERN int uv_pipe_bind (uv_pipe_t *handle, const char *name)
 
UV_EXTERN int uv_pipe_chmod (uv_pipe_t *handle, int flags)
 
UV_EXTERN void uv_pipe_connect (uv_connect_t *req, uv_pipe_t *handle, const char *name, uv_connect_cb cb)
 
UV_EXTERN int uv_pipe_getpeername (const uv_pipe_t *handle, char *buffer, size_t *size)
 
UV_EXTERN int uv_pipe_getsockname (const uv_pipe_t *handle, char *buffer, size_t *size)
 
UV_EXTERN int uv_pipe_init (uv_loop_t *, uv_pipe_t *handle, int ipc)
 
UV_EXTERN int uv_pipe_open (uv_pipe_t *, uv_file file)
 
UV_EXTERN int uv_pipe_pending_count (uv_pipe_t *handle)
 
UV_EXTERN void uv_pipe_pending_instances (uv_pipe_t *handle, int count)
 
UV_EXTERN uv_handle_type uv_pipe_pending_type (uv_pipe_t *handle)
 
UV_EXTERN int uv_poll_init (uv_loop_t *loop, uv_poll_t *handle, int fd)
 
UV_EXTERN int uv_poll_init_socket (uv_loop_t *loop, uv_poll_t *handle, uv_os_sock_t socket)
 
UV_EXTERN int uv_poll_start (uv_poll_t *handle, int events, uv_poll_cb cb)
 
UV_EXTERN int uv_poll_stop (uv_poll_t *handle)
 
UV_EXTERN int uv_prepare_init (uv_loop_t *, uv_prepare_t *prepare)
 
UV_EXTERN int uv_prepare_start (uv_prepare_t *prepare, uv_prepare_cb cb)
 
UV_EXTERN int uv_prepare_stop (uv_prepare_t *prepare)
 
UV_EXTERN void uv_print_active_handles (uv_loop_t *loop, FILE *stream)
 
UV_EXTERN void uv_print_all_handles (uv_loop_t *loop, FILE *stream)
 
UV_EXTERN uv_pid_t uv_process_get_pid (const uv_process_t *)
 
UV_EXTERN int uv_process_kill (uv_process_t *, int signum)
 
UV_EXTERN int uv_queue_work (uv_loop_t *loop, uv_work_t *req, uv_work_cb work_cb, uv_after_work_cb after_work_cb)
 
UV_EXTERN int uv_random (uv_loop_t *loop, uv_random_t *req, void *buf, size_t buflen, unsigned flags, uv_random_cb cb)
 
UV_EXTERN int uv_read_start (uv_stream_t *, uv_alloc_cb alloc_cb, uv_read_cb read_cb)
 
UV_EXTERN int uv_read_stop (uv_stream_t *)
 
UV_EXTERN int uv_recv_buffer_size (uv_handle_t *handle, int *value)
 
UV_EXTERN void uv_ref (uv_handle_t *)
 
UV_EXTERN int uv_replace_allocator (uv_malloc_func malloc_func, uv_realloc_func realloc_func, uv_calloc_func calloc_func, uv_free_func free_func)
 
UV_EXTERN void * uv_req_get_data (const uv_req_t *req)
 
UV_EXTERN uv_req_type uv_req_get_type (const uv_req_t *req)
 
UV_EXTERN void uv_req_set_data (uv_req_t *req, void *data)
 
UV_EXTERN size_t uv_req_size (uv_req_type type)
 
const UV_EXTERN char * uv_req_type_name (uv_req_type type)
 
UV_EXTERN int uv_resident_set_memory (size_t *rss)
 
UV_EXTERN int uv_run (uv_loop_t *, uv_run_mode mode)
 
UV_EXTERN void uv_rwlock_destroy (uv_rwlock_t *rwlock)
 
UV_EXTERN int uv_rwlock_init (uv_rwlock_t *rwlock)
 
UV_EXTERN void uv_rwlock_rdlock (uv_rwlock_t *rwlock)
 
UV_EXTERN void uv_rwlock_rdunlock (uv_rwlock_t *rwlock)
 
UV_EXTERN int uv_rwlock_tryrdlock (uv_rwlock_t *rwlock)
 
UV_EXTERN int uv_rwlock_trywrlock (uv_rwlock_t *rwlock)
 
UV_EXTERN void uv_rwlock_wrlock (uv_rwlock_t *rwlock)
 
UV_EXTERN void uv_rwlock_wrunlock (uv_rwlock_t *rwlock)
 
UV_EXTERN void uv_sem_destroy (uv_sem_t *sem)
 
UV_EXTERN int uv_sem_init (uv_sem_t *sem, unsigned int value)
 
UV_EXTERN void uv_sem_post (uv_sem_t *sem)
 
UV_EXTERN int uv_sem_trywait (uv_sem_t *sem)
 
UV_EXTERN void uv_sem_wait (uv_sem_t *sem)
 
UV_EXTERN int uv_send_buffer_size (uv_handle_t *handle, int *value)
 
UV_EXTERN int uv_set_process_title (const char *title)
 
UV_EXTERN char ** uv_setup_args (int argc, char **argv)
 
UV_PRIVATE_REQ_TYPES UV_EXTERN int uv_shutdown (uv_shutdown_t *req, uv_stream_t *handle, uv_shutdown_cb cb)
 
UV_EXTERN int uv_signal_init (uv_loop_t *loop, uv_signal_t *handle)
 
UV_EXTERN int uv_signal_start (uv_signal_t *handle, uv_signal_cb signal_cb, int signum)
 
UV_EXTERN int uv_signal_start_oneshot (uv_signal_t *handle, uv_signal_cb signal_cb, int signum)
 
UV_EXTERN int uv_signal_stop (uv_signal_t *handle)
 
UV_EXTERN void uv_sleep (unsigned int msec)
 
UV_EXTERN int uv_spawn (uv_loop_t *loop, uv_process_t *handle, const uv_process_options_t *options)
 
UV_EXTERN void uv_stop (uv_loop_t *)
 
UV_EXTERN size_t uv_stream_get_write_queue_size (const uv_stream_t *stream)
 
UV_EXTERN int uv_stream_set_blocking (uv_stream_t *handle, int blocking)
 
const UV_EXTERN char * uv_strerror (int err)
 
UV_EXTERN char * uv_strerror_r (int err, char *buf, size_t buflen)
 
UV_EXTERN int uv_tcp_bind (uv_tcp_t *handle, const struct sockaddr *addr, unsigned int flags)
 
UV_EXTERN int uv_tcp_close_reset (uv_tcp_t *handle, uv_close_cb close_cb)
 
UV_EXTERN int uv_tcp_connect (uv_connect_t *req, uv_tcp_t *handle, const struct sockaddr *addr, uv_connect_cb cb)
 
UV_EXTERN int uv_tcp_getpeername (const uv_tcp_t *handle, struct sockaddr *name, int *namelen)
 
UV_EXTERN int uv_tcp_getsockname (const uv_tcp_t *handle, struct sockaddr *name, int *namelen)
 
UV_EXTERN int uv_tcp_init (uv_loop_t *, uv_tcp_t *handle)
 
UV_EXTERN int uv_tcp_init_ex (uv_loop_t *, uv_tcp_t *handle, unsigned int flags)
 
UV_EXTERN int uv_tcp_keepalive (uv_tcp_t *handle, int enable, unsigned int delay)
 
UV_EXTERN int uv_tcp_nodelay (uv_tcp_t *handle, int enable)
 
UV_EXTERN int uv_tcp_open (uv_tcp_t *handle, uv_os_sock_t sock)
 
UV_EXTERN int uv_tcp_simultaneous_accepts (uv_tcp_t *handle, int enable)
 
UV_EXTERN int uv_thread_create (uv_thread_t *tid, uv_thread_cb entry, void *arg)
 
UV_EXTERN int uv_thread_create_ex (uv_thread_t *tid, const uv_thread_options_t *params, uv_thread_cb entry, void *arg)
 
UV_EXTERN int uv_thread_equal (const uv_thread_t *t1, const uv_thread_t *t2)
 
UV_EXTERN int uv_thread_join (uv_thread_t *tid)
 
UV_EXTERN uv_thread_t uv_thread_self (void)
 
UV_EXTERN int uv_timer_again (uv_timer_t *handle)
 
UV_EXTERN uint64_t uv_timer_get_repeat (const uv_timer_t *handle)
 
UV_EXTERN int uv_timer_init (uv_loop_t *, uv_timer_t *handle)
 
UV_EXTERN void uv_timer_set_repeat (uv_timer_t *handle, uint64_t repeat)
 
UV_EXTERN int uv_timer_start (uv_timer_t *handle, uv_timer_cb cb, uint64_t timeout, uint64_t repeat)
 
UV_EXTERN int uv_timer_stop (uv_timer_t *handle)
 
UV_EXTERN int uv_translate_sys_error (int sys_errno)
 
UV_EXTERN int uv_try_write (uv_stream_t *handle, const uv_buf_t bufs[], unsigned int nbufs)
 
UV_EXTERN int uv_tty_get_vterm_state (uv_tty_vtermstate_t *state)
 
UV_EXTERN int uv_tty_get_winsize (uv_tty_t *, int *width, int *height)
 
UV_EXTERN int uv_tty_init (uv_loop_t *, uv_tty_t *, uv_file fd, int readable)
 
UV_EXTERN int uv_tty_reset_mode (void)
 
UV_EXTERN int uv_tty_set_mode (uv_tty_t *, uv_tty_mode_t mode)
 
UV_EXTERN void uv_tty_set_vterm_state (uv_tty_vtermstate_t state)
 
UV_EXTERN int uv_udp_bind (uv_udp_t *handle, const struct sockaddr *addr, unsigned int flags)
 
UV_EXTERN int uv_udp_connect (uv_udp_t *handle, const struct sockaddr *addr)
 
UV_EXTERN size_t uv_udp_get_send_queue_count (const uv_udp_t *handle)
 
UV_EXTERN size_t uv_udp_get_send_queue_size (const uv_udp_t *handle)
 
UV_EXTERN int uv_udp_getpeername (const uv_udp_t *handle, struct sockaddr *name, int *namelen)
 
UV_EXTERN int uv_udp_getsockname (const uv_udp_t *handle, struct sockaddr *name, int *namelen)
 
UV_EXTERN int uv_udp_init (uv_loop_t *, uv_udp_t *handle)
 
UV_EXTERN int uv_udp_init_ex (uv_loop_t *, uv_udp_t *handle, unsigned int flags)
 
UV_EXTERN int uv_udp_open (uv_udp_t *handle, uv_os_sock_t sock)
 
UV_EXTERN int uv_udp_recv_start (uv_udp_t *handle, uv_alloc_cb alloc_cb, uv_udp_recv_cb recv_cb)
 
UV_EXTERN int uv_udp_recv_stop (uv_udp_t *handle)
 
UV_EXTERN int uv_udp_send (uv_udp_send_t *req, uv_udp_t *handle, const uv_buf_t bufs[], unsigned int nbufs, const struct sockaddr *addr, uv_udp_send_cb send_cb)
 
UV_EXTERN int uv_udp_set_broadcast (uv_udp_t *handle, int on)
 
UV_EXTERN int uv_udp_set_membership (uv_udp_t *handle, const char *multicast_addr, const char *interface_addr, uv_membership membership)
 
UV_EXTERN int uv_udp_set_multicast_interface (uv_udp_t *handle, const char *interface_addr)
 
UV_EXTERN int uv_udp_set_multicast_loop (uv_udp_t *handle, int on)
 
UV_EXTERN int uv_udp_set_multicast_ttl (uv_udp_t *handle, int ttl)
 
UV_EXTERN int uv_udp_set_source_membership (uv_udp_t *handle, const char *multicast_addr, const char *interface_addr, const char *source_addr, uv_membership membership)
 
UV_EXTERN int uv_udp_set_ttl (uv_udp_t *handle, int ttl)
 
UV_EXTERN int uv_udp_try_send (uv_udp_t *handle, const uv_buf_t bufs[], unsigned int nbufs, const struct sockaddr *addr)
 
UV_EXTERN void uv_unref (uv_handle_t *)
 
UV_EXTERN void uv_update_time (uv_loop_t *)
 
UV_EXTERN int uv_uptime (double *uptime)
 
UV_EXTERN unsigned int uv_version (void)
 
const UV_EXTERN char * uv_version_string (void)
 
UV_EXTERN void uv_walk (uv_loop_t *loop, uv_walk_cb walk_cb, void *arg)
 
UV_EXTERN int uv_write (uv_write_t *req, uv_stream_t *handle, const uv_buf_t bufs[], unsigned int nbufs, uv_write_cb cb)
 
UV_EXTERN int uv_write2 (uv_write_t *req, uv_stream_t *handle, const uv_buf_t bufs[], unsigned int nbufs, uv_stream_t *send_handle, uv_write_cb cb)
 

Macro Definition Documentation

◆ UV_ERRNO_MAP

#define UV_ERRNO_MAP (   XX)

Definition at line 70 of file uv.h.

◆ UV_EXTERN

#define UV_EXTERN   /* nothing */

Definition at line 49 of file uv.h.

◆ UV_FS_COPYFILE_EXCL

#define UV_FS_COPYFILE_EXCL   0x0001

Definition at line 1345 of file uv.h.

◆ UV_FS_COPYFILE_FICLONE

#define UV_FS_COPYFILE_FICLONE   0x0002

Definition at line 1351 of file uv.h.

◆ UV_FS_COPYFILE_FICLONE_FORCE

#define UV_FS_COPYFILE_FICLONE_FORCE   0x0004

Definition at line 1357 of file uv.h.

◆ UV_FS_SYMLINK_DIR

#define UV_FS_SYMLINK_DIR   0x0001

Definition at line 1476 of file uv.h.

◆ UV_FS_SYMLINK_JUNCTION

#define UV_FS_SYMLINK_JUNCTION   0x0002

Definition at line 1482 of file uv.h.

◆ UV_HANDLE_FIELDS

#define UV_HANDLE_FIELDS
Value:
/* public */ \
void* data; \
/* read-only */ \
uv_loop_t* loop; \
uv_handle_type type; \
/* private */ \
uv_close_cb close_cb; \
void* handle_queue[2]; \
union { \
int fd; \
void* reserved[4]; \
} u; \
UV_HANDLE_PRIVATE_FIELDS \

Definition at line 425 of file uv.h.

◆ UV_HANDLE_TYPE_MAP

#define UV_HANDLE_TYPE_MAP (   XX)
Value:
XX(ASYNC, async) \
XX(CHECK, check) \
XX(FS_EVENT, fs_event) \
XX(FS_POLL, fs_poll) \
XX(HANDLE, handle) \
XX(IDLE, idle) \
XX(NAMED_PIPE, pipe) \
XX(POLL, poll) \
XX(PREPARE, prepare) \
XX(PROCESS, process) \
XX(STREAM, stream) \
XX(TCP, tcp) \
XX(TIMER, timer) \
XX(TTY, tty) \
XX(UDP, udp) \
XX(SIGNAL, signal) \

Definition at line 152 of file uv.h.

◆ UV_IF_NAMESIZE

#define UV_IF_NAMESIZE   (16 + 1)

Definition at line 1655 of file uv.h.

◆ UV_MAXHOSTNAMESIZE

#define UV_MAXHOSTNAMESIZE   256

Definition at line 1237 of file uv.h.

◆ UV_PRIORITY_ABOVE_NORMAL

#define UV_PRIORITY_ABOVE_NORMAL   -7

Definition at line 1202 of file uv.h.

◆ UV_PRIORITY_BELOW_NORMAL

#define UV_PRIORITY_BELOW_NORMAL   10

Definition at line 1200 of file uv.h.

◆ UV_PRIORITY_HIGH

#define UV_PRIORITY_HIGH   -14

Definition at line 1203 of file uv.h.

◆ UV_PRIORITY_HIGHEST

#define UV_PRIORITY_HIGHEST   -20

Definition at line 1204 of file uv.h.

◆ UV_PRIORITY_LOW

#define UV_PRIORITY_LOW   19

Definition at line 1199 of file uv.h.

◆ UV_PRIORITY_NORMAL

#define UV_PRIORITY_NORMAL   0

Definition at line 1201 of file uv.h.

◆ UV_REQ_FIELDS

#define UV_REQ_FIELDS
Value:
/* public */ \
void* data; \
/* read-only */ \
uv_req_type type; \
/* private */ \
void* reserved[6]; \
UV_REQ_PRIVATE_FIELDS \

Definition at line 394 of file uv.h.

◆ UV_REQ_TYPE_MAP

#define UV_REQ_TYPE_MAP (   XX)
Value:
XX(REQ, req) \
XX(CONNECT, connect) \
XX(WRITE, write) \
XX(SHUTDOWN, shutdown) \
XX(UDP_SEND, udp_send) \
XX(FS, fs) \
XX(WORK, work) \
XX(GETADDRINFO, getaddrinfo) \
XX(GETNAMEINFO, getnameinfo) \
XX(RANDOM, random) \

Definition at line 170 of file uv.h.

◆ UV_STREAM_FIELDS

#define UV_STREAM_FIELDS
Value:
/* number of bytes queued for writing */ \
size_t write_queue_size; \
uv_alloc_cb alloc_cb; \
uv_read_cb read_cb; \
/* private */ \
UV_STREAM_PRIVATE_FIELDS

Definition at line 476 of file uv.h.

◆ XX [1/4]

#define XX (   _,
  name 
)    uv_ ## name ## _t name;

Definition at line 1756 of file uv.h.

◆ XX [2/4]

#define XX (   code,
 
)    UV_ ## code = UV__ ## code,

Definition at line 1756 of file uv.h.

◆ XX [3/4]

#define XX (   uc,
  lc 
)    UV_##uc,

Definition at line 1756 of file uv.h.

◆ XX [4/4]

#define XX (   uc,
  lc 
)    UV_##uc,

Definition at line 1756 of file uv.h.

Typedef Documentation

◆ uv_after_work_cb

typedef void(* uv_after_work_cb) (uv_work_t *req, int status)

Definition at line 327 of file uv.h.

◆ uv_alloc_cb

typedef void(* uv_alloc_cb) (uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf)

Definition at line 306 of file uv.h.

◆ uv_async_cb

typedef void(* uv_async_cb) (uv_async_t *handle)

Definition at line 319 of file uv.h.

◆ uv_async_t

typedef struct uv_async_s uv_async_t

Definition at line 222 of file uv.h.

◆ uv_calloc_func

typedef void*(* uv_calloc_func) (size_t count, size_t size)

Definition at line 265 of file uv.h.

◆ uv_check_cb

typedef void(* uv_check_cb) (uv_check_t *handle)

Definition at line 321 of file uv.h.

◆ uv_check_t

typedef struct uv_check_s uv_check_t

Definition at line 220 of file uv.h.

◆ uv_close_cb

typedef void(* uv_close_cb) (uv_handle_t *handle)

Definition at line 316 of file uv.h.

◆ uv_connect_cb

typedef void(* uv_connect_cb) (uv_connect_t *req, int status)

Definition at line 313 of file uv.h.

◆ uv_connect_t

typedef struct uv_connect_s uv_connect_t

Definition at line 234 of file uv.h.

◆ uv_connection_cb

typedef void(* uv_connection_cb) (uv_stream_t *server, int status)

Definition at line 315 of file uv.h.

◆ uv_cpu_info_t

typedef struct uv_cpu_info_s uv_cpu_info_t

Definition at line 242 of file uv.h.

◆ uv_dir_t

typedef struct uv_dir_s uv_dir_t

Definition at line 211 of file uv.h.

◆ uv_dirent_t

typedef struct uv_dirent_s uv_dirent_t

Definition at line 244 of file uv.h.

◆ uv_env_item_t

typedef struct uv_env_item_s uv_env_item_t

Definition at line 241 of file uv.h.

◆ uv_exit_cb

typedef void(* uv_exit_cb) (uv_process_t *, int64_t exit_status, int term_signal)

Definition at line 323 of file uv.h.

◆ uv_free_func

typedef void(* uv_free_func) (void *ptr)

Definition at line 266 of file uv.h.

◆ uv_fs_cb

typedef void(* uv_fs_cb) (uv_fs_t *req)

Definition at line 325 of file uv.h.

◆ uv_fs_event_cb

typedef void(* uv_fs_event_cb) (uv_fs_event_t *handle, const char *filename, int events, int status)

Definition at line 366 of file uv.h.

◆ uv_fs_event_t

typedef struct uv_fs_event_s uv_fs_event_t

Definition at line 224 of file uv.h.

◆ uv_fs_poll_cb

typedef void(* uv_fs_poll_cb) (uv_fs_poll_t *handle, int status, const uv_stat_t *prev, const uv_stat_t *curr)

Definition at line 371 of file uv.h.

◆ uv_fs_poll_t

typedef struct uv_fs_poll_s uv_fs_poll_t

Definition at line 225 of file uv.h.

◆ uv_fs_t

typedef struct uv_fs_s uv_fs_t

Definition at line 236 of file uv.h.

◆ uv_getaddrinfo_cb

typedef void(* uv_getaddrinfo_cb) (uv_getaddrinfo_t *req, int status, struct addrinfo *res)

Definition at line 328 of file uv.h.

◆ uv_getaddrinfo_t

Definition at line 230 of file uv.h.

◆ uv_getnameinfo_cb

typedef void(* uv_getnameinfo_cb) (uv_getnameinfo_t *req, int status, const char *hostname, const char *service)

Definition at line 331 of file uv.h.

◆ uv_getnameinfo_t

Definition at line 231 of file uv.h.

◆ uv_handle_t

typedef struct uv_handle_s uv_handle_t

Definition at line 210 of file uv.h.

◆ uv_idle_cb

typedef void(* uv_idle_cb) (uv_idle_t *handle)

Definition at line 322 of file uv.h.

◆ uv_idle_t

typedef struct uv_idle_s uv_idle_t

Definition at line 221 of file uv.h.

◆ uv_interface_address_t

Definition at line 243 of file uv.h.

◆ uv_loop_t

typedef struct uv_loop_s uv_loop_t

Definition at line 209 of file uv.h.

◆ uv_malloc_func

typedef void*(* uv_malloc_func) (size_t size)

Definition at line 263 of file uv.h.

◆ uv_passwd_t

typedef struct uv_passwd_s uv_passwd_t

Definition at line 245 of file uv.h.

◆ uv_pipe_t

typedef struct uv_pipe_s uv_pipe_t

Definition at line 215 of file uv.h.

◆ uv_poll_cb

typedef void(* uv_poll_cb) (uv_poll_t *handle, int status, int events)

Definition at line 317 of file uv.h.

◆ uv_poll_t

typedef struct uv_poll_s uv_poll_t

Definition at line 217 of file uv.h.

◆ uv_prepare_cb

typedef void(* uv_prepare_cb) (uv_prepare_t *handle)

Definition at line 320 of file uv.h.

◆ uv_prepare_t

typedef struct uv_prepare_s uv_prepare_t

Definition at line 219 of file uv.h.

◆ uv_process_options_t

◆ uv_process_t

typedef struct uv_process_s uv_process_t

Definition at line 223 of file uv.h.

◆ uv_random_cb

typedef void(* uv_random_cb) (uv_random_t *req, int status, void *buf, size_t buflen)

Definition at line 335 of file uv.h.

◆ uv_random_t

typedef struct uv_random_s uv_random_t

Definition at line 238 of file uv.h.

◆ uv_read_cb

typedef void(* uv_read_cb) (uv_stream_t *stream, ssize_t nread, const uv_buf_t *buf)

Definition at line 309 of file uv.h.

◆ uv_realloc_func

typedef void*(* uv_realloc_func) (void *ptr, size_t size)

Definition at line 264 of file uv.h.

◆ uv_req_t

typedef struct uv_req_s uv_req_t

Definition at line 229 of file uv.h.

◆ uv_shutdown_cb

typedef void(* uv_shutdown_cb) (uv_shutdown_t *req, int status)

Definition at line 314 of file uv.h.

◆ uv_shutdown_t

typedef struct uv_shutdown_s uv_shutdown_t

Definition at line 232 of file uv.h.

◆ uv_signal_cb

typedef void(* uv_signal_cb) (uv_signal_t *handle, int signum)

Definition at line 376 of file uv.h.

◆ uv_signal_t

typedef struct uv_signal_s uv_signal_t

Definition at line 226 of file uv.h.

◆ uv_statfs_t

typedef struct uv_statfs_s uv_statfs_t

Definition at line 247 of file uv.h.

◆ uv_stdio_container_t

◆ uv_stream_t

typedef struct uv_stream_s uv_stream_t

Definition at line 212 of file uv.h.

◆ uv_tcp_t

typedef struct uv_tcp_s uv_tcp_t

Definition at line 213 of file uv.h.

◆ uv_thread_cb

typedef void(* uv_thread_cb) (void *arg)

Definition at line 1730 of file uv.h.

◆ uv_thread_options_t

Definition at line 1745 of file uv.h.

◆ uv_timer_cb

typedef void(* uv_timer_cb) (uv_timer_t *handle)

Definition at line 318 of file uv.h.

◆ uv_timer_t

typedef struct uv_timer_s uv_timer_t

Definition at line 218 of file uv.h.

◆ uv_tty_t

typedef struct uv_tty_s uv_tty_t

Definition at line 216 of file uv.h.

◆ uv_udp_recv_cb

typedef void(* uv_udp_recv_cb) (uv_udp_t *handle, ssize_t nread, const uv_buf_t *buf, const struct sockaddr *addr, unsigned flags)

Definition at line 622 of file uv.h.

◆ uv_udp_send_cb

typedef void(* uv_udp_send_cb) (uv_udp_send_t *req, int status)

Definition at line 621 of file uv.h.

◆ uv_udp_send_t

typedef struct uv_udp_send_s uv_udp_send_t

Definition at line 235 of file uv.h.

◆ uv_udp_t

typedef struct uv_udp_s uv_udp_t

Definition at line 214 of file uv.h.

◆ uv_utsname_t

typedef struct uv_utsname_s uv_utsname_t

Definition at line 246 of file uv.h.

◆ uv_walk_cb

typedef void(* uv_walk_cb) (uv_handle_t *handle, void *arg)

Definition at line 324 of file uv.h.

◆ uv_work_cb

typedef void(* uv_work_cb) (uv_work_t *req)

Definition at line 326 of file uv.h.

◆ uv_work_t

typedef struct uv_work_s uv_work_t

Definition at line 237 of file uv.h.

◆ uv_write_cb

typedef void(* uv_write_cb) (uv_write_t *req, int status)

Definition at line 312 of file uv.h.

◆ uv_write_t

typedef struct uv_write_s uv_write_t

Definition at line 233 of file uv.h.

Enumeration Type Documentation

◆ uv_dirent_type_t

Enumerator
UV_DIRENT_UNKNOWN 
UV_DIRENT_FILE 
UV_DIRENT_DIR 
UV_DIRENT_LINK 
UV_DIRENT_FIFO 
UV_DIRENT_SOCKET 
UV_DIRENT_CHAR 
UV_DIRENT_BLOCK 

Definition at line 1128 of file uv.h.

◆ uv_errno_t

enum uv_errno_t
Enumerator
UV_ERRNO_MAX 

Definition at line 182 of file uv.h.

◆ uv_fs_event

Enumerator
UV_RENAME 
UV_CHANGE 

Definition at line 1527 of file uv.h.

◆ uv_fs_event_flags

Enumerator
UV_FS_EVENT_WATCH_ENTRY 
UV_FS_EVENT_STAT 
UV_FS_EVENT_RECURSIVE 

Definition at line 1583 of file uv.h.

◆ uv_fs_type

enum uv_fs_type
Enumerator
UV_FS_UNKNOWN 
UV_FS_CUSTOM 
UV_FS_OPEN 
UV_FS_CLOSE 
UV_FS_READ 
UV_FS_WRITE 
UV_FS_SENDFILE 
UV_FS_STAT 
UV_FS_LSTAT 
UV_FS_FSTAT 
UV_FS_FTRUNCATE 
UV_FS_UTIME 
UV_FS_FUTIME 
UV_FS_ACCESS 
UV_FS_CHMOD 
UV_FS_FCHMOD 
UV_FS_FSYNC 
UV_FS_FDATASYNC 
UV_FS_UNLINK 
UV_FS_RMDIR 
UV_FS_MKDIR 
UV_FS_MKDTEMP 
UV_FS_RENAME 
UV_FS_SCANDIR 
UV_FS_LINK 
UV_FS_SYMLINK 
UV_FS_READLINK 
UV_FS_CHOWN 
UV_FS_FCHOWN 
UV_FS_REALPATH 
UV_FS_COPYFILE 
UV_FS_LCHOWN 
UV_FS_OPENDIR 
UV_FS_READDIR 
UV_FS_CLOSEDIR 
UV_FS_STATFS 
UV_FS_MKSTEMP 
UV_FS_LUTIME 

Definition at line 1245 of file uv.h.

◆ uv_handle_type

Enumerator
UV_UNKNOWN_HANDLE 
UV_FILE 
UV_HANDLE_TYPE_MAX 

Definition at line 189 of file uv.h.

◆ uv_loop_option

Enumerator
UV_LOOP_BLOCK_SIGNAL 

Definition at line 249 of file uv.h.

◆ uv_membership

Enumerator
UV_LEAVE_GROUP 
UV_JOIN_GROUP 

Definition at line 379 of file uv.h.

◆ uv_poll_event

Enumerator
UV_READABLE 
UV_WRITABLE 
UV_DISCONNECT 
UV_PRIORITIZED 

Definition at line 789 of file uv.h.

◆ uv_process_flags

Enumerator
UV_PROCESS_SETUID 
UV_PROCESS_SETGID 
UV_PROCESS_WINDOWS_VERBATIM_ARGUMENTS 
UV_PROCESS_DETACHED 
UV_PROCESS_WINDOWS_HIDE 
UV_PROCESS_WINDOWS_HIDE_CONSOLE 
UV_PROCESS_WINDOWS_HIDE_GUI 

Definition at line 988 of file uv.h.

◆ uv_req_type

Enumerator
UV_UNKNOWN_REQ 
UV_REQ_TYPE_MAX 

Definition at line 198 of file uv.h.

◆ uv_run_mode

Enumerator
UV_RUN_DEFAULT 
UV_RUN_ONCE 
UV_RUN_NOWAIT 

Definition at line 253 of file uv.h.

◆ uv_stdio_flags

Enumerator
UV_IGNORE 
UV_CREATE_PIPE 
UV_INHERIT_FD 
UV_INHERIT_STREAM 
UV_READABLE_PIPE 
UV_WRITABLE_PIPE 
UV_OVERLAPPED_PIPE 

Definition at line 910 of file uv.h.

◆ uv_tcp_flags

Enumerator
UV_TCP_IPV6ONLY 

Definition at line 559 of file uv.h.

◆ uv_thread_create_flags

Enumerator
UV_THREAD_NO_FLAGS 
UV_THREAD_HAS_STACK_SIZE 

Definition at line 1734 of file uv.h.

◆ uv_tty_mode_t

Enumerator
UV_TTY_MODE_NORMAL 
UV_TTY_MODE_RAW 
UV_TTY_MODE_IO 

Definition at line 710 of file uv.h.

◆ uv_tty_vtermstate_t

Enumerator
UV_TTY_SUPPORTED 
UV_TTY_UNSUPPORTED 

Definition at line 719 of file uv.h.

◆ uv_udp_flags

Enumerator
UV_UDP_IPV6ONLY 
UV_UDP_PARTIAL 
UV_UDP_REUSEADDR 
UV_UDP_MMSG_CHUNK 
UV_UDP_RECVMMSG 

Definition at line 592 of file uv.h.

Function Documentation

◆ uv_accept()

UV_EXTERN int uv_accept ( uv_stream_t server,
uv_stream_t client 
)

Definition at line 591 of file unix/stream.c.

◆ uv_async_init()

UV_EXTERN int uv_async_init ( uv_loop_t ,
uv_async_t async,
uv_async_cb  async_cb 
)

Definition at line 44 of file unix/async.c.

◆ uv_async_send()

UV_EXTERN int uv_async_send ( uv_async_t async)

Definition at line 62 of file unix/async.c.

◆ uv_backend_fd()

UV_EXTERN int uv_backend_fd ( const uv_loop_t )

Definition at line 324 of file unix/core.c.

◆ uv_backend_timeout()

UV_EXTERN int uv_backend_timeout ( const uv_loop_t )

Definition at line 329 of file unix/core.c.

◆ uv_barrier_destroy()

UV_EXTERN void uv_barrier_destroy ( uv_barrier_t barrier)

Definition at line 118 of file libuv/src/unix/thread.c.

◆ uv_barrier_init()

UV_EXTERN int uv_barrier_init ( uv_barrier_t barrier,
unsigned int  count 
)

Definition at line 55 of file libuv/src/unix/thread.c.

◆ uv_barrier_wait()

UV_EXTERN int uv_barrier_wait ( uv_barrier_t barrier)

Definition at line 89 of file libuv/src/unix/thread.c.

◆ uv_buf_init()

UV_EXTERN uv_buf_t uv_buf_init ( char *  base,
unsigned int  len 
)

Definition at line 157 of file uv-common.c.

◆ uv_cancel()

UV_EXTERN int uv_cancel ( uv_req_t req)

Definition at line 358 of file threadpool.c.

◆ uv_chdir()

UV_EXTERN int uv_chdir ( const char *  dir)

Definition at line 735 of file unix/core.c.

◆ uv_check_init()

UV_EXTERN int uv_check_init ( uv_loop_t ,
uv_check_t check 
)

◆ uv_check_start()

UV_EXTERN int uv_check_start ( uv_check_t check,
uv_check_cb  cb 
)

◆ uv_check_stop()

UV_EXTERN int uv_check_stop ( uv_check_t check)

◆ uv_close()

UV_EXTERN void uv_close ( uv_handle_t handle,
uv_close_cb  close_cb 
)

Definition at line 112 of file unix/core.c.

◆ uv_cond_broadcast()

UV_EXTERN void uv_cond_broadcast ( uv_cond_t cond)

Definition at line 775 of file libuv/src/unix/thread.c.

◆ uv_cond_destroy()

UV_EXTERN void uv_cond_destroy ( uv_cond_t cond)

Definition at line 736 of file libuv/src/unix/thread.c.

◆ uv_cond_init()

UV_EXTERN int uv_cond_init ( uv_cond_t cond)

Definition at line 703 of file libuv/src/unix/thread.c.

◆ uv_cond_signal()

UV_EXTERN void uv_cond_signal ( uv_cond_t cond)

Definition at line 770 of file libuv/src/unix/thread.c.

◆ uv_cond_timedwait()

UV_EXTERN int uv_cond_timedwait ( uv_cond_t cond,
uv_mutex_t mutex,
uint64_t  timeout 
)

Definition at line 786 of file libuv/src/unix/thread.c.

◆ uv_cond_wait()

UV_EXTERN void uv_cond_wait ( uv_cond_t cond,
uv_mutex_t mutex 
)

Definition at line 780 of file libuv/src/unix/thread.c.

◆ uv_cpu_info()

UV_EXTERN int uv_cpu_info ( uv_cpu_info_t **  cpu_infos,
int count 
)

Definition at line 986 of file aix.c.

◆ uv_cwd()

UV_EXTERN int uv_cwd ( char *  buffer,
size_t *  size 
)

Definition at line 696 of file unix/core.c.

◆ uv_default_loop()

UV_EXTERN uv_loop_t* uv_default_loop ( void  )

Definition at line 733 of file uv-common.c.

◆ uv_disable_stdio_inheritance()

UV_EXTERN void uv_disable_stdio_inheritance ( void  )

Definition at line 743 of file unix/core.c.

◆ uv_dlclose()

UV_EXTERN void uv_dlclose ( uv_lib_t lib)

Definition at line 41 of file unix/dl.c.

◆ uv_dlerror()

const UV_EXTERN char* uv_dlerror ( const uv_lib_t lib)

Definition at line 60 of file unix/dl.c.

◆ uv_dlopen()

UV_EXTERN int uv_dlopen ( const char *  filename,
uv_lib_t lib 
)

Definition at line 33 of file unix/dl.c.

◆ uv_dlsym()

UV_EXTERN int uv_dlsym ( uv_lib_t lib,
const char *  name,
void **  ptr 
)

Definition at line 53 of file unix/dl.c.

◆ uv_err_name()

const UV_EXTERN char* uv_err_name ( int  err)

Definition at line 189 of file uv-common.c.

◆ uv_err_name_r()

UV_EXTERN char* uv_err_name_r ( int  err,
char *  buf,
size_t  buflen 
)

Definition at line 178 of file uv-common.c.

◆ uv_exepath()

UV_EXTERN int uv_exepath ( char *  buffer,
size_t *  size 
)

Definition at line 79 of file aix-common.c.

◆ uv_fileno()

UV_EXTERN int uv_fileno ( const uv_handle_t handle,
uv_os_fd_t fd 
)

Definition at line 755 of file unix/core.c.

◆ uv_free_cpu_info()

UV_EXTERN void uv_free_cpu_info ( uv_cpu_info_t cpu_infos,
int  count 
)

Definition at line 816 of file uv-common.c.

◆ uv_free_interface_addresses()

UV_EXTERN void uv_free_interface_addresses ( uv_interface_address_t addresses,
int  count 
)

Definition at line 1210 of file aix.c.

◆ uv_freeaddrinfo()

UV_EXTERN void uv_freeaddrinfo ( struct addrinfo ai)

Definition at line 223 of file unix/getaddrinfo.c.

◆ uv_fs_access()

UV_EXTERN int uv_fs_access ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
int  mode,
uv_fs_cb  cb 
)

Definition at line 1613 of file unix/fs.c.

◆ uv_fs_chmod()

UV_EXTERN int uv_fs_chmod ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
int  mode,
uv_fs_cb  cb 
)

Definition at line 1625 of file unix/fs.c.

◆ uv_fs_chown()

UV_EXTERN int uv_fs_chown ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
uv_uid_t  uid,
uv_gid_t  gid,
uv_fs_cb  cb 
)

Definition at line 1637 of file unix/fs.c.

◆ uv_fs_close()

UV_EXTERN int uv_fs_close ( uv_loop_t loop,
uv_fs_t req,
uv_file  file,
uv_fs_cb  cb 
)

Definition at line 1651 of file unix/fs.c.

◆ uv_fs_closedir()

UV_EXTERN int uv_fs_closedir ( uv_loop_t loop,
uv_fs_t req,
uv_dir_t dir,
uv_fs_cb  cb 
)

Definition at line 1887 of file unix/fs.c.

◆ uv_fs_copyfile()

UV_EXTERN int uv_fs_copyfile ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
const char *  new_path,
int  flags,
uv_fs_cb  cb 
)

Definition at line 2057 of file unix/fs.c.

◆ uv_fs_event_getpath()

UV_EXTERN int uv_fs_event_getpath ( uv_fs_event_t handle,
char *  buffer,
size_t *  size 
)

Definition at line 562 of file uv-common.c.

◆ uv_fs_event_init()

UV_EXTERN int uv_fs_event_init ( uv_loop_t loop,
uv_fs_event_t handle 
)

Definition at line 717 of file aix.c.

◆ uv_fs_event_start()

UV_EXTERN int uv_fs_event_start ( uv_fs_event_t handle,
uv_fs_event_cb  cb,
const char *  path,
unsigned int  flags 
)

Definition at line 727 of file aix.c.

◆ uv_fs_event_stop()

UV_EXTERN int uv_fs_event_stop ( uv_fs_event_t handle)

Definition at line 798 of file aix.c.

◆ uv_fs_fchmod()

UV_EXTERN int uv_fs_fchmod ( uv_loop_t loop,
uv_fs_t req,
uv_file  file,
int  mode,
uv_fs_cb  cb 
)

Definition at line 1658 of file unix/fs.c.

◆ uv_fs_fchown()

UV_EXTERN int uv_fs_fchown ( uv_loop_t loop,
uv_fs_t req,
uv_file  file,
uv_uid_t  uid,
uv_gid_t  gid,
uv_fs_cb  cb 
)

Definition at line 1670 of file unix/fs.c.

◆ uv_fs_fdatasync()

UV_EXTERN int uv_fs_fdatasync ( uv_loop_t loop,
uv_fs_t req,
uv_file  file,
uv_fs_cb  cb 
)

Definition at line 1698 of file unix/fs.c.

◆ uv_fs_fstat()

UV_EXTERN int uv_fs_fstat ( uv_loop_t loop,
uv_fs_t req,
uv_file  file,
uv_fs_cb  cb 
)

Definition at line 1705 of file unix/fs.c.

◆ uv_fs_fsync()

UV_EXTERN int uv_fs_fsync ( uv_loop_t loop,
uv_fs_t req,
uv_file  file,
uv_fs_cb  cb 
)

Definition at line 1712 of file unix/fs.c.

◆ uv_fs_ftruncate()

UV_EXTERN int uv_fs_ftruncate ( uv_loop_t loop,
uv_fs_t req,
uv_file  file,
int64_t  offset,
uv_fs_cb  cb 
)

Definition at line 1719 of file unix/fs.c.

◆ uv_fs_futime()

UV_EXTERN int uv_fs_futime ( uv_loop_t loop,
uv_fs_t req,
uv_file  file,
double  atime,
double  mtime,
uv_fs_cb  cb 
)

Definition at line 1731 of file unix/fs.c.

◆ uv_fs_get_path()

const UV_EXTERN char* uv_fs_get_path ( const uv_fs_t )

Definition at line 84 of file uv-data-getter-setters.c.

◆ uv_fs_get_ptr()

UV_EXTERN void* uv_fs_get_ptr ( const uv_fs_t )

Definition at line 80 of file uv-data-getter-setters.c.

◆ uv_fs_get_result()

UV_EXTERN ssize_t uv_fs_get_result ( const uv_fs_t )

Definition at line 76 of file uv-data-getter-setters.c.

◆ uv_fs_get_statbuf()

UV_EXTERN uv_stat_t* uv_fs_get_statbuf ( uv_fs_t )

Definition at line 88 of file uv-data-getter-setters.c.

◆ uv_fs_get_type()

UV_EXTERN uv_fs_type uv_fs_get_type ( const uv_fs_t )

Definition at line 72 of file uv-data-getter-setters.c.

◆ uv_fs_lchown()

UV_EXTERN int uv_fs_lchown ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
uv_uid_t  uid,
uv_gid_t  gid,
uv_fs_cb  cb 
)

Definition at line 1684 of file unix/fs.c.

◆ uv_fs_link()

UV_EXTERN int uv_fs_link ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
const char *  new_path,
uv_fs_cb  cb 
)

Definition at line 1765 of file unix/fs.c.

◆ uv_fs_lstat()

UV_EXTERN int uv_fs_lstat ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
uv_fs_cb  cb 
)

Definition at line 1758 of file unix/fs.c.

◆ uv_fs_lutime()

UV_EXTERN int uv_fs_lutime ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
double  atime,
double  mtime,
uv_fs_cb  cb 
)

Definition at line 1744 of file unix/fs.c.

◆ uv_fs_mkdir()

UV_EXTERN int uv_fs_mkdir ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
int  mode,
uv_fs_cb  cb 
)

Definition at line 1776 of file unix/fs.c.

◆ uv_fs_mkdtemp()

UV_EXTERN int uv_fs_mkdtemp ( uv_loop_t loop,
uv_fs_t req,
const char *  tpl,
uv_fs_cb  cb 
)

Definition at line 1788 of file unix/fs.c.

◆ uv_fs_mkstemp()

UV_EXTERN int uv_fs_mkstemp ( uv_loop_t loop,
uv_fs_t req,
const char *  tpl,
uv_fs_cb  cb 
)

Definition at line 1800 of file unix/fs.c.

◆ uv_fs_open()

UV_EXTERN int uv_fs_open ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
int  flags,
int  mode,
uv_fs_cb  cb 
)

Definition at line 1812 of file unix/fs.c.

◆ uv_fs_opendir()

UV_EXTERN int uv_fs_opendir ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
uv_fs_cb  cb 
)

Definition at line 1865 of file unix/fs.c.

◆ uv_fs_poll_getpath()

UV_EXTERN int uv_fs_poll_getpath ( uv_fs_poll_t handle,
char *  buffer,
size_t *  size 
)

Definition at line 138 of file fs-poll.c.

◆ uv_fs_poll_init()

UV_EXTERN int uv_fs_poll_init ( uv_loop_t loop,
uv_fs_poll_t handle 
)

Definition at line 59 of file fs-poll.c.

◆ uv_fs_poll_start()

UV_EXTERN int uv_fs_poll_start ( uv_fs_poll_t handle,
uv_fs_poll_cb  poll_cb,
const char *  path,
unsigned int  interval 
)

Definition at line 66 of file fs-poll.c.

◆ uv_fs_poll_stop()

UV_EXTERN int uv_fs_poll_stop ( uv_fs_poll_t handle)

Definition at line 116 of file fs-poll.c.

◆ uv_fs_read()

UV_EXTERN int uv_fs_read ( uv_loop_t loop,
uv_fs_t req,
uv_file  file,
const uv_buf_t  bufs[],
unsigned int  nbufs,
int64_t  offset,
uv_fs_cb  cb 
)

Definition at line 1826 of file unix/fs.c.

◆ uv_fs_readdir()

UV_EXTERN int uv_fs_readdir ( uv_loop_t loop,
uv_fs_t req,
uv_dir_t dir,
uv_fs_cb  cb 
)

Definition at line 1874 of file unix/fs.c.

◆ uv_fs_readlink()

UV_EXTERN int uv_fs_readlink ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
uv_fs_cb  cb 
)

Definition at line 1900 of file unix/fs.c.

◆ uv_fs_realpath()

UV_EXTERN int uv_fs_realpath ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
uv_fs_cb  cb 
)

Definition at line 1910 of file unix/fs.c.

◆ uv_fs_rename()

UV_EXTERN int uv_fs_rename ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
const char *  new_path,
uv_fs_cb  cb 
)

Definition at line 1920 of file unix/fs.c.

◆ uv_fs_req_cleanup()

UV_EXTERN void uv_fs_req_cleanup ( uv_fs_t req)

Definition at line 2024 of file unix/fs.c.

◆ uv_fs_rmdir()

UV_EXTERN int uv_fs_rmdir ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
uv_fs_cb  cb 
)

Definition at line 1931 of file unix/fs.c.

◆ uv_fs_scandir()

UV_EXTERN int uv_fs_scandir ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
int  flags,
uv_fs_cb  cb 
)

Definition at line 1854 of file unix/fs.c.

◆ uv_fs_scandir_next()

UV_EXTERN int uv_fs_scandir_next ( uv_fs_t req,
uv_dirent_t ent 
)

Definition at line 621 of file uv-common.c.

◆ uv_fs_sendfile()

UV_EXTERN int uv_fs_sendfile ( uv_loop_t loop,
uv_fs_t req,
uv_file  out_fd,
uv_file  in_fd,
int64_t  in_offset,
size_t  length,
uv_fs_cb  cb 
)

Definition at line 1938 of file unix/fs.c.

◆ uv_fs_stat()

UV_EXTERN int uv_fs_stat ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
uv_fs_cb  cb 
)

Definition at line 1954 of file unix/fs.c.

◆ uv_fs_statfs()

UV_EXTERN int uv_fs_statfs ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
uv_fs_cb  cb 
)

Definition at line 2077 of file unix/fs.c.

◆ uv_fs_symlink()

UV_EXTERN int uv_fs_symlink ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
const char *  new_path,
int  flags,
uv_fs_cb  cb 
)

Definition at line 1961 of file unix/fs.c.

◆ uv_fs_unlink()

UV_EXTERN int uv_fs_unlink ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
uv_fs_cb  cb 
)

Definition at line 1974 of file unix/fs.c.

◆ uv_fs_utime()

UV_EXTERN int uv_fs_utime ( uv_loop_t loop,
uv_fs_t req,
const char *  path,
double  atime,
double  mtime,
uv_fs_cb  cb 
)

Definition at line 1981 of file unix/fs.c.

◆ uv_fs_write()

UV_EXTERN int uv_fs_write ( uv_loop_t loop,
uv_fs_t req,
uv_file  file,
const uv_buf_t  bufs[],
unsigned int  nbufs,
int64_t  offset,
uv_fs_cb  cb 
)

Definition at line 1995 of file unix/fs.c.

◆ uv_get_constrained_memory()

UV_EXTERN uint64_t uv_get_constrained_memory ( void  )

Definition at line 347 of file aix.c.

◆ uv_get_free_memory()

UV_EXTERN uint64_t uv_get_free_memory ( void  )

Definition at line 327 of file aix.c.

◆ uv_get_osfhandle()

UV_EXTERN uv_os_fd_t uv_get_osfhandle ( int  fd)

Definition at line 1384 of file unix/core.c.

◆ uv_get_process_title()

UV_EXTERN int uv_get_process_title ( char *  buffer,
size_t  size 
)

Definition at line 906 of file aix.c.

◆ uv_get_total_memory()

UV_EXTERN uint64_t uv_get_total_memory ( void  )

Definition at line 337 of file aix.c.

◆ uv_getaddrinfo()

UV_EXTERN int uv_getaddrinfo ( uv_loop_t loop,
uv_getaddrinfo_t req,
uv_getaddrinfo_cb  getaddrinfo_cb,
const char *  node,
const char *  service,
const struct addrinfo hints 
)

Definition at line 141 of file unix/getaddrinfo.c.

◆ uv_getnameinfo()

UV_EXTERN int uv_getnameinfo ( uv_loop_t loop,
uv_getnameinfo_t req,
uv_getnameinfo_cb  getnameinfo_cb,
const struct sockaddr *  addr,
int  flags 
)

Definition at line 81 of file unix/getnameinfo.c.

◆ uv_getrusage()

UV_EXTERN int uv_getrusage ( uv_rusage_t rusage)

Definition at line 958 of file unix/core.c.

◆ uv_gettimeofday()

UV_EXTERN int uv_gettimeofday ( uv_timeval64_t tv)

Definition at line 1507 of file unix/core.c.

◆ uv_guess_handle()

UV_EXTERN uv_handle_type uv_guess_handle ( uv_file  file)

Definition at line 315 of file unix/tty.c.

◆ uv_handle_get_data()

UV_EXTERN void* uv_handle_get_data ( const uv_handle_t handle)

Definition at line 19 of file uv-data-getter-setters.c.

◆ uv_handle_get_loop()

UV_EXTERN uv_loop_t* uv_handle_get_loop ( const uv_handle_t handle)

Definition at line 23 of file uv-data-getter-setters.c.

◆ uv_handle_get_type()

UV_EXTERN uv_handle_type uv_handle_get_type ( const uv_handle_t handle)

Definition at line 15 of file uv-data-getter-setters.c.

◆ uv_handle_set_data()

UV_EXTERN void uv_handle_set_data ( uv_handle_t handle,
void *  data 
)

Definition at line 27 of file uv-data-getter-setters.c.

◆ uv_handle_size()

UV_EXTERN size_t uv_handle_size ( uv_handle_type  type)

Definition at line 133 of file uv-common.c.

◆ uv_handle_type_name()

const UV_EXTERN char* uv_handle_type_name ( uv_handle_type  type)

Definition at line 3 of file uv-data-getter-setters.c.

◆ uv_has_ref()

UV_EXTERN int uv_has_ref ( const uv_handle_t )

Definition at line 527 of file uv-common.c.

◆ uv_hrtime()

UV_EXTERN uint64_t uv_hrtime ( void  )

Definition at line 107 of file unix/core.c.

◆ uv_idle_init()

UV_EXTERN int uv_idle_init ( uv_loop_t ,
uv_idle_t idle 
)

◆ uv_idle_start()

UV_EXTERN int uv_idle_start ( uv_idle_t idle,
uv_idle_cb  cb 
)

◆ uv_idle_stop()

UV_EXTERN int uv_idle_stop ( uv_idle_t idle)

◆ uv_if_indextoiid()

UV_EXTERN int uv_if_indextoiid ( unsigned int  ifindex,
char *  buffer,
size_t *  size 
)

Definition at line 253 of file unix/getaddrinfo.c.

◆ uv_if_indextoname()

UV_EXTERN int uv_if_indextoname ( unsigned int  ifindex,
char *  buffer,
size_t *  size 
)

Definition at line 229 of file unix/getaddrinfo.c.

◆ uv_inet_ntop()

UV_EXTERN int uv_inet_ntop ( int  af,
const void *  src,
char *  dst,
size_t  size 
)

Definition at line 40 of file inet.c.

◆ uv_inet_pton()

UV_EXTERN int uv_inet_pton ( int  af,
const char *  src,
void *  dst 
)

Definition at line 150 of file inet.c.

◆ uv_interface_addresses()

UV_EXTERN int uv_interface_addresses ( uv_interface_address_t **  addresses,
int count 
)

Definition at line 1042 of file aix.c.

◆ uv_ip4_addr()

UV_EXTERN int uv_ip4_addr ( const char *  ip,
int  port,
struct sockaddr_in *  addr 
)

Definition at line 221 of file uv-common.c.

◆ uv_ip4_name()

UV_EXTERN int uv_ip4_name ( const struct sockaddr_in *  src,
char *  dst,
size_t  size 
)

Definition at line 267 of file uv-common.c.

◆ uv_ip6_addr()

UV_EXTERN int uv_ip6_addr ( const char *  ip,
int  port,
struct sockaddr_in6 addr 
)

Definition at line 232 of file uv-common.c.

◆ uv_ip6_name()

UV_EXTERN int uv_ip6_name ( const struct sockaddr_in6 src,
char *  dst,
size_t  size 
)

Definition at line 272 of file uv-common.c.

◆ uv_is_active()

UV_EXTERN int uv_is_active ( const uv_handle_t handle)

Definition at line 418 of file unix/core.c.

◆ uv_is_closing()

UV_EXTERN int uv_is_closing ( const uv_handle_t handle)

Definition at line 319 of file unix/core.c.

◆ uv_is_readable()

UV_EXTERN int uv_is_readable ( const uv_stream_t handle)

Definition at line 1606 of file unix/stream.c.

◆ uv_is_writable()

UV_EXTERN int uv_is_writable ( const uv_stream_t handle)

Definition at line 1611 of file unix/stream.c.

◆ uv_key_create()

UV_EXTERN int uv_key_create ( uv_key_t key)

Definition at line 833 of file libuv/src/unix/thread.c.

◆ uv_key_delete()

UV_EXTERN void uv_key_delete ( uv_key_t key)

Definition at line 838 of file libuv/src/unix/thread.c.

◆ uv_key_get()

UV_EXTERN void* uv_key_get ( uv_key_t key)

Definition at line 844 of file libuv/src/unix/thread.c.

◆ uv_key_set()

UV_EXTERN void uv_key_set ( uv_key_t key,
void *  value 
)

Definition at line 849 of file libuv/src/unix/thread.c.

◆ uv_kill()

UV_EXTERN int uv_kill ( int  pid,
int  signum 
)

Definition at line 582 of file unix/process.c.

◆ uv_listen()

UV_EXTERN int uv_listen ( uv_stream_t stream,
int  backlog,
uv_connection_cb  cb 
)

Definition at line 656 of file unix/stream.c.

◆ uv_loadavg()

UV_EXTERN void uv_loadavg ( double  avg[3])

Definition at line 352 of file aix.c.

◆ uv_loop_alive()

UV_EXTERN int uv_loop_alive ( const uv_loop_t loop)

Definition at line 356 of file unix/core.c.

◆ uv_loop_close()

UV_EXTERN int uv_loop_close ( uv_loop_t loop)

Definition at line 761 of file uv-common.c.

◆ uv_loop_configure()

UV_EXTERN int uv_loop_configure ( uv_loop_t loop,
uv_loop_option  option,
  ... 
)

Definition at line 716 of file uv-common.c.

◆ uv_loop_delete()

UV_EXTERN void uv_loop_delete ( uv_loop_t )

Definition at line 791 of file uv-common.c.

◆ uv_loop_fork()

UV_EXTERN int uv_loop_fork ( uv_loop_t loop)

Definition at line 113 of file loop.c.

◆ uv_loop_get_data()

UV_EXTERN void* uv_loop_get_data ( const uv_loop_t )

Definition at line 92 of file uv-data-getter-setters.c.

◆ uv_loop_init()

UV_EXTERN int uv_loop_init ( uv_loop_t loop)

Definition at line 30 of file loop.c.

◆ uv_loop_new()

UV_EXTERN uv_loop_t* uv_loop_new ( void  )

Definition at line 745 of file uv-common.c.

◆ uv_loop_set_data()

UV_EXTERN void uv_loop_set_data ( uv_loop_t ,
void *  data 
)

Definition at line 96 of file uv-data-getter-setters.c.

◆ uv_loop_size()

UV_EXTERN size_t uv_loop_size ( void  )

Definition at line 152 of file uv-common.c.

◆ uv_mutex_destroy()

UV_EXTERN void uv_mutex_destroy ( uv_mutex_t handle)

Definition at line 323 of file libuv/src/unix/thread.c.

◆ uv_mutex_init()

UV_EXTERN int uv_mutex_init ( uv_mutex_t handle)

Definition at line 281 of file libuv/src/unix/thread.c.

◆ uv_mutex_init_recursive()

UV_EXTERN int uv_mutex_init_recursive ( uv_mutex_t handle)

Definition at line 304 of file libuv/src/unix/thread.c.

◆ uv_mutex_lock()

UV_EXTERN void uv_mutex_lock ( uv_mutex_t handle)

Definition at line 329 of file libuv/src/unix/thread.c.

◆ uv_mutex_trylock()

UV_EXTERN int uv_mutex_trylock ( uv_mutex_t handle)

Definition at line 335 of file libuv/src/unix/thread.c.

◆ uv_mutex_unlock()

UV_EXTERN void uv_mutex_unlock ( uv_mutex_t handle)

Definition at line 349 of file libuv/src/unix/thread.c.

◆ uv_now()

Definition at line 537 of file uv-common.c.

◆ uv_once()

UV_EXTERN void uv_once ( uv_once_t guard,
void(*)(void)  callback 
)

Definition at line 418 of file libuv/src/unix/thread.c.

◆ uv_open_osfhandle()

UV_EXTERN int uv_open_osfhandle ( uv_os_fd_t  os_fd)

Definition at line 1388 of file unix/core.c.

◆ uv_os_environ()

UV_EXTERN int uv_os_environ ( uv_env_item_t **  envitems,
int count 
)

Definition at line 1250 of file unix/core.c.

◆ uv_os_free_environ()

UV_EXTERN void uv_os_free_environ ( uv_env_item_t envitems,
int  count 
)

Definition at line 805 of file uv-common.c.

◆ uv_os_free_passwd()

UV_EXTERN void uv_os_free_passwd ( uv_passwd_t pwd)

Definition at line 1223 of file unix/core.c.

◆ uv_os_get_passwd()

UV_EXTERN int uv_os_get_passwd ( uv_passwd_t pwd)

Definition at line 1239 of file unix/core.c.

◆ uv_os_getenv()

UV_EXTERN int uv_os_getenv ( const char *  name,
char *  buffer,
size_t *  size 
)

Definition at line 1306 of file unix/core.c.

◆ uv_os_gethostname()

UV_EXTERN int uv_os_gethostname ( char *  buffer,
size_t *  size 
)

Definition at line 1354 of file unix/core.c.

◆ uv_os_getpid()

UV_EXTERN uv_pid_t uv_os_getpid ( void  )

Definition at line 1392 of file unix/core.c.

◆ uv_os_getppid()

UV_EXTERN uv_pid_t uv_os_getppid ( void  )

Definition at line 1397 of file unix/core.c.

◆ uv_os_getpriority()

UV_EXTERN int uv_os_getpriority ( uv_pid_t  pid,
int priority 
)

Definition at line 1402 of file unix/core.c.

◆ uv_os_homedir()

UV_EXTERN int uv_os_homedir ( char *  buffer,
size_t *  size 
)

Definition at line 1047 of file unix/core.c.

◆ uv_os_setenv()

UV_EXTERN int uv_os_setenv ( const char *  name,
const char *  value 
)

Definition at line 1332 of file unix/core.c.

◆ uv_os_setpriority()

UV_EXTERN int uv_os_setpriority ( uv_pid_t  pid,
int  priority 
)

Definition at line 1419 of file unix/core.c.

◆ uv_os_tmpdir()

UV_EXTERN int uv_os_tmpdir ( char *  buffer,
size_t *  size 
)

Definition at line 1083 of file unix/core.c.

◆ uv_os_uname()

UV_EXTERN int uv_os_uname ( uv_utsname_t buffer)

Definition at line 1430 of file unix/core.c.

◆ uv_os_unsetenv()

UV_EXTERN int uv_os_unsetenv ( const char *  name)

Definition at line 1343 of file unix/core.c.

◆ uv_pipe_bind()

UV_EXTERN int uv_pipe_bind ( uv_pipe_t handle,
const char *  name 
)

Definition at line 43 of file unix/pipe.c.

◆ uv_pipe_chmod()

UV_EXTERN int uv_pipe_chmod ( uv_pipe_t handle,
int  flags 
)

Definition at line 326 of file unix/pipe.c.

◆ uv_pipe_connect()

UV_EXTERN void uv_pipe_connect ( uv_connect_t req,
uv_pipe_t handle,
const char *  name,
uv_connect_cb  cb 
)

Definition at line 173 of file unix/pipe.c.

◆ uv_pipe_getpeername()

UV_EXTERN int uv_pipe_getpeername ( const uv_pipe_t handle,
char *  buffer,
size_t *  size 
)

Definition at line 289 of file unix/pipe.c.

◆ uv_pipe_getsockname()

UV_EXTERN int uv_pipe_getsockname ( const uv_pipe_t handle,
char *  buffer,
size_t *  size 
)

Definition at line 284 of file unix/pipe.c.

◆ uv_pipe_init()

UV_EXTERN int uv_pipe_init ( uv_loop_t ,
uv_pipe_t handle,
int  ipc 
)

Definition at line 33 of file unix/pipe.c.

◆ uv_pipe_open()

UV_EXTERN int uv_pipe_open ( uv_pipe_t ,
uv_file  file 
)

Definition at line 137 of file unix/pipe.c.

◆ uv_pipe_pending_count()

UV_EXTERN int uv_pipe_pending_count ( uv_pipe_t handle)

Definition at line 298 of file unix/pipe.c.

◆ uv_pipe_pending_instances()

UV_EXTERN void uv_pipe_pending_instances ( uv_pipe_t handle,
int  count 
)

Definition at line 294 of file unix/pipe.c.

◆ uv_pipe_pending_type()

UV_EXTERN uv_handle_type uv_pipe_pending_type ( uv_pipe_t handle)

Definition at line 315 of file unix/pipe.c.

◆ uv_poll_init()

UV_EXTERN int uv_poll_init ( uv_loop_t loop,
uv_poll_t handle,
int  fd 
)

Definition at line 68 of file unix/poll.c.

◆ uv_poll_init_socket()

UV_EXTERN int uv_poll_init_socket ( uv_loop_t loop,
uv_poll_t handle,
uv_os_sock_t  socket 
)

Definition at line 96 of file unix/poll.c.

◆ uv_poll_start()

UV_EXTERN int uv_poll_start ( uv_poll_t handle,
int  events,
uv_poll_cb  cb 
)

Definition at line 118 of file unix/poll.c.

◆ uv_poll_stop()

UV_EXTERN int uv_poll_stop ( uv_poll_t handle)

Definition at line 111 of file unix/poll.c.

◆ uv_prepare_init()

UV_EXTERN int uv_prepare_init ( uv_loop_t ,
uv_prepare_t prepare 
)

◆ uv_prepare_start()

UV_EXTERN int uv_prepare_start ( uv_prepare_t prepare,
uv_prepare_cb  cb 
)

◆ uv_prepare_stop()

UV_EXTERN int uv_prepare_stop ( uv_prepare_t prepare)

◆ uv_print_active_handles()

UV_EXTERN void uv_print_active_handles ( uv_loop_t loop,
FILE *  stream 
)

Definition at line 512 of file uv-common.c.

◆ uv_print_all_handles()

UV_EXTERN void uv_print_all_handles ( uv_loop_t loop,
FILE *  stream 
)

Definition at line 507 of file uv-common.c.

◆ uv_process_get_pid()

UV_EXTERN uv_pid_t uv_process_get_pid ( const uv_process_t )

Definition at line 68 of file uv-data-getter-setters.c.

◆ uv_process_kill()

UV_EXTERN int uv_process_kill ( uv_process_t ,
int  signum 
)

Definition at line 577 of file unix/process.c.

◆ uv_queue_work()

UV_EXTERN int uv_queue_work ( uv_loop_t loop,
uv_work_t req,
uv_work_cb  work_cb,
uv_after_work_cb  after_work_cb 
)

Definition at line 338 of file threadpool.c.

◆ uv_random()

UV_EXTERN int uv_random ( uv_loop_t loop,
uv_random_t req,
void *  buf,
size_t  buflen,
unsigned  flags,
uv_random_cb  cb 
)

Definition at line 94 of file libuv/src/random.c.

◆ uv_read_start()

UV_EXTERN int uv_read_start ( uv_stream_t ,
uv_alloc_cb  alloc_cb,
uv_read_cb  read_cb 
)

Definition at line 1555 of file unix/stream.c.

◆ uv_read_stop()

UV_EXTERN int uv_read_stop ( uv_stream_t )

Definition at line 1590 of file unix/stream.c.

◆ uv_recv_buffer_size()

UV_EXTERN int uv_recv_buffer_size ( uv_handle_t handle,
int value 
)

Definition at line 554 of file uv-common.c.

◆ uv_ref()

UV_EXTERN void uv_ref ( uv_handle_t )

Definition at line 517 of file uv-common.c.

◆ uv_replace_allocator()

UV_EXTERN int uv_replace_allocator ( uv_malloc_func  malloc_func,
uv_realloc_func  realloc_func,
uv_calloc_func  calloc_func,
uv_free_func  free_func 
)

Definition at line 114 of file uv-common.c.

◆ uv_req_get_data()

UV_EXTERN void* uv_req_get_data ( const uv_req_t req)

Definition at line 48 of file uv-data-getter-setters.c.

◆ uv_req_get_type()

UV_EXTERN uv_req_type uv_req_get_type ( const uv_req_t req)

Definition at line 44 of file uv-data-getter-setters.c.

◆ uv_req_set_data()

UV_EXTERN void uv_req_set_data ( uv_req_t req,
void *  data 
)

Definition at line 52 of file uv-data-getter-setters.c.

◆ uv_req_size()

UV_EXTERN size_t uv_req_size ( uv_req_type  type)

Definition at line 141 of file uv-common.c.

◆ uv_req_type_name()

const UV_EXTERN char* uv_req_type_name ( uv_req_type  type)

Definition at line 31 of file uv-data-getter-setters.c.

◆ uv_resident_set_memory()

UV_EXTERN int uv_resident_set_memory ( size_t *  rss)

Definition at line 935 of file aix.c.

◆ uv_run()

UV_EXTERN int uv_run ( uv_loop_t ,
uv_run_mode  mode 
)

Definition at line 361 of file unix/core.c.

◆ uv_rwlock_destroy()

UV_EXTERN void uv_rwlock_destroy ( uv_rwlock_t rwlock)

Definition at line 360 of file libuv/src/unix/thread.c.

◆ uv_rwlock_init()

UV_EXTERN int uv_rwlock_init ( uv_rwlock_t rwlock)

Definition at line 355 of file libuv/src/unix/thread.c.

◆ uv_rwlock_rdlock()

UV_EXTERN void uv_rwlock_rdlock ( uv_rwlock_t rwlock)

Definition at line 366 of file libuv/src/unix/thread.c.

◆ uv_rwlock_rdunlock()

UV_EXTERN void uv_rwlock_rdunlock ( uv_rwlock_t rwlock)

Definition at line 386 of file libuv/src/unix/thread.c.

◆ uv_rwlock_tryrdlock()

UV_EXTERN int uv_rwlock_tryrdlock ( uv_rwlock_t rwlock)

Definition at line 372 of file libuv/src/unix/thread.c.

◆ uv_rwlock_trywrlock()

UV_EXTERN int uv_rwlock_trywrlock ( uv_rwlock_t rwlock)

Definition at line 398 of file libuv/src/unix/thread.c.

◆ uv_rwlock_wrlock()

UV_EXTERN void uv_rwlock_wrlock ( uv_rwlock_t rwlock)

Definition at line 392 of file libuv/src/unix/thread.c.

◆ uv_rwlock_wrunlock()

UV_EXTERN void uv_rwlock_wrunlock ( uv_rwlock_t rwlock)

Definition at line 412 of file libuv/src/unix/thread.c.

◆ uv_sem_destroy()

UV_EXTERN void uv_sem_destroy ( uv_sem_t sem)

Definition at line 661 of file libuv/src/unix/thread.c.

◆ uv_sem_init()

UV_EXTERN int uv_sem_init ( uv_sem_t sem,
unsigned int  value 
)

Definition at line 649 of file libuv/src/unix/thread.c.

◆ uv_sem_post()

UV_EXTERN void uv_sem_post ( uv_sem_t sem)

Definition at line 669 of file libuv/src/unix/thread.c.

◆ uv_sem_trywait()

UV_EXTERN int uv_sem_trywait ( uv_sem_t sem)

Definition at line 685 of file libuv/src/unix/thread.c.

◆ uv_sem_wait()

UV_EXTERN void uv_sem_wait ( uv_sem_t sem)

Definition at line 677 of file libuv/src/unix/thread.c.

◆ uv_send_buffer_size()

UV_EXTERN int uv_send_buffer_size ( uv_handle_t handle,
int value 
)

Definition at line 558 of file uv-common.c.

◆ uv_set_process_title()

UV_EXTERN int uv_set_process_title ( const char *  title)

Definition at line 875 of file aix.c.

◆ uv_setup_args()

UV_EXTERN char** uv_setup_args ( int  argc,
char **  argv 
)

Definition at line 832 of file aix.c.

◆ uv_shutdown()

UV_PRIVATE_REQ_TYPES UV_EXTERN int uv_shutdown ( uv_shutdown_t req,
uv_stream_t handle,
uv_shutdown_cb  cb 
)

Definition at line 1259 of file unix/stream.c.

◆ uv_signal_init()

UV_EXTERN int uv_signal_init ( uv_loop_t loop,
uv_signal_t handle 
)

Definition at line 317 of file unix/signal.c.

◆ uv_signal_start()

UV_EXTERN int uv_signal_start ( uv_signal_t handle,
uv_signal_cb  signal_cb,
int  signum 
)

Definition at line 338 of file unix/signal.c.

◆ uv_signal_start_oneshot()

UV_EXTERN int uv_signal_start_oneshot ( uv_signal_t handle,
uv_signal_cb  signal_cb,
int  signum 
)

Definition at line 343 of file unix/signal.c.

◆ uv_signal_stop()

UV_EXTERN int uv_signal_stop ( uv_signal_t handle)

Definition at line 511 of file unix/signal.c.

◆ uv_sleep()

UV_EXTERN void uv_sleep ( unsigned int  msec)

Definition at line 1521 of file unix/core.c.

◆ uv_spawn()

UV_EXTERN int uv_spawn ( uv_loop_t loop,
uv_process_t handle,
const uv_process_options_t options 
)

Definition at line 408 of file unix/process.c.

◆ uv_stop()

UV_EXTERN void uv_stop ( uv_loop_t )

Definition at line 532 of file uv-common.c.

◆ uv_stream_get_write_queue_size()

UV_EXTERN size_t uv_stream_get_write_queue_size ( const uv_stream_t stream)

Definition at line 56 of file uv-data-getter-setters.c.

◆ uv_stream_set_blocking()

UV_EXTERN int uv_stream_set_blocking ( uv_stream_t handle,
int  blocking 
)

Definition at line 1688 of file unix/stream.c.

◆ uv_strerror()

const UV_EXTERN char* uv_strerror ( int  err)

Definition at line 212 of file uv-common.c.

◆ uv_strerror_r()

UV_EXTERN char* uv_strerror_r ( int  err,
char *  buf,
size_t  buflen 
)

Definition at line 201 of file uv-common.c.

◆ uv_tcp_bind()

UV_EXTERN int uv_tcp_bind ( uv_tcp_t handle,
const struct sockaddr *  addr,
unsigned int  flags 
)

Definition at line 277 of file uv-common.c.

◆ uv_tcp_close_reset()

UV_EXTERN int uv_tcp_close_reset ( uv_tcp_t handle,
uv_close_cb  close_cb 
)

Definition at line 311 of file unix/tcp.c.

◆ uv_tcp_connect()

UV_EXTERN int uv_tcp_connect ( uv_connect_t req,
uv_tcp_t handle,
const struct sockaddr *  addr,
uv_connect_cb  cb 
)

Definition at line 315 of file uv-common.c.

◆ uv_tcp_getpeername()

UV_EXTERN int uv_tcp_getpeername ( const uv_tcp_t handle,
struct sockaddr *  name,
int namelen 
)

Definition at line 297 of file unix/tcp.c.

◆ uv_tcp_getsockname()

UV_EXTERN int uv_tcp_getsockname ( const uv_tcp_t handle,
struct sockaddr *  name,
int namelen 
)

Definition at line 283 of file unix/tcp.c.

◆ uv_tcp_init()

UV_EXTERN int uv_tcp_init ( uv_loop_t ,
uv_tcp_t handle 
)

Definition at line 143 of file unix/tcp.c.

◆ uv_tcp_init_ex()

UV_EXTERN int uv_tcp_init_ex ( uv_loop_t ,
uv_tcp_t handle,
unsigned int  flags 
)

Definition at line 114 of file unix/tcp.c.

◆ uv_tcp_keepalive()

UV_EXTERN int uv_tcp_keepalive ( uv_tcp_t handle,
int  enable,
unsigned int  delay 
)

Definition at line 425 of file unix/tcp.c.

◆ uv_tcp_nodelay()

UV_EXTERN int uv_tcp_nodelay ( uv_tcp_t handle,
int  enable 
)

Definition at line 407 of file unix/tcp.c.

◆ uv_tcp_open()

UV_EXTERN int uv_tcp_open ( uv_tcp_t handle,
uv_os_sock_t  sock 
)

Definition at line 267 of file unix/tcp.c.

◆ uv_tcp_simultaneous_accepts()

UV_EXTERN int uv_tcp_simultaneous_accepts ( uv_tcp_t handle,
int  enable 
)

Definition at line 447 of file unix/tcp.c.

◆ uv_thread_create()

UV_EXTERN int uv_thread_create ( uv_thread_t tid,
uv_thread_cb  entry,
void *  arg 
)

Definition at line 209 of file libuv/src/unix/thread.c.

◆ uv_thread_create_ex()

UV_EXTERN int uv_thread_create_ex ( uv_thread_t tid,
const uv_thread_options_t params,
uv_thread_cb  entry,
void *  arg 
)

Definition at line 215 of file libuv/src/unix/thread.c.

◆ uv_thread_equal()

UV_EXTERN int uv_thread_equal ( const uv_thread_t t1,
const uv_thread_t t2 
)

Definition at line 276 of file libuv/src/unix/thread.c.

◆ uv_thread_join()

UV_EXTERN int uv_thread_join ( uv_thread_t tid)

Definition at line 271 of file libuv/src/unix/thread.c.

◆ uv_thread_self()

UV_EXTERN uv_thread_t uv_thread_self ( void  )

Definition at line 267 of file libuv/src/unix/thread.c.

◆ uv_timer_again()

UV_EXTERN int uv_timer_again ( uv_timer_t handle)

Definition at line 110 of file timer.c.

◆ uv_timer_get_repeat()

UV_EXTERN uint64_t uv_timer_get_repeat ( const uv_timer_t handle)

Definition at line 128 of file timer.c.

◆ uv_timer_init()

UV_EXTERN int uv_timer_init ( uv_loop_t ,
uv_timer_t handle 
)

Definition at line 58 of file timer.c.

◆ uv_timer_set_repeat()

UV_EXTERN void uv_timer_set_repeat ( uv_timer_t handle,
uint64_t  repeat 
)

Definition at line 123 of file timer.c.

◆ uv_timer_start()

UV_EXTERN int uv_timer_start ( uv_timer_t handle,
uv_timer_cb  cb,
uint64_t  timeout,
uint64_t  repeat 
)

Definition at line 66 of file timer.c.

◆ uv_timer_stop()

UV_EXTERN int uv_timer_stop ( uv_timer_t handle)

Definition at line 97 of file timer.c.

◆ uv_translate_sys_error()

UV_EXTERN int uv_translate_sys_error ( int  sys_errno)

Definition at line 1244 of file unix/core.c.

◆ uv_try_write()

UV_EXTERN int uv_try_write ( uv_stream_t handle,
const uv_buf_t  bufs[],
unsigned int  nbufs 
)

Definition at line 1507 of file unix/stream.c.

◆ uv_tty_get_vterm_state()

UV_EXTERN int uv_tty_get_vterm_state ( uv_tty_vtermstate_t state)

Definition at line 400 of file unix/tty.c.

◆ uv_tty_get_winsize()

UV_EXTERN int uv_tty_get_winsize ( uv_tty_t ,
int width,
int height 
)

Definition at line 297 of file unix/tty.c.

◆ uv_tty_init()

UV_EXTERN int uv_tty_init ( uv_loop_t ,
uv_tty_t ,
uv_file  fd,
int  readable 
)

Definition at line 123 of file unix/tty.c.

◆ uv_tty_reset_mode()

UV_EXTERN int uv_tty_reset_mode ( void  )

Definition at line 378 of file unix/tty.c.

◆ uv_tty_set_mode()

UV_EXTERN int uv_tty_set_mode ( uv_tty_t ,
uv_tty_mode_t  mode 
)

Definition at line 250 of file unix/tty.c.

◆ uv_tty_set_vterm_state()

UV_EXTERN void uv_tty_set_vterm_state ( uv_tty_vtermstate_t  state)

Definition at line 397 of file unix/tty.c.

◆ uv_udp_bind()

UV_EXTERN int uv_udp_bind ( uv_udp_t handle,
const struct sockaddr *  addr,
unsigned int  flags 
)

Definition at line 296 of file uv-common.c.

◆ uv_udp_connect()

UV_EXTERN int uv_udp_connect ( uv_udp_t handle,
const struct sockaddr *  addr 
)

Definition at line 335 of file uv-common.c.

◆ uv_udp_get_send_queue_count()

UV_EXTERN size_t uv_udp_get_send_queue_count ( const uv_udp_t handle)

Definition at line 64 of file uv-data-getter-setters.c.

◆ uv_udp_get_send_queue_size()

UV_EXTERN size_t uv_udp_get_send_queue_size ( const uv_udp_t handle)

Definition at line 60 of file uv-data-getter-setters.c.

◆ uv_udp_getpeername()

UV_EXTERN int uv_udp_getpeername ( const uv_udp_t handle,
struct sockaddr *  name,
int namelen 
)

Definition at line 1283 of file unix/udp.c.

◆ uv_udp_getsockname()

UV_EXTERN int uv_udp_getsockname ( const uv_udp_t handle,
struct sockaddr *  name,
int namelen 
)

Definition at line 1293 of file unix/udp.c.

◆ uv_udp_init()

UV_EXTERN int uv_udp_init ( uv_loop_t ,
uv_udp_t handle 
)

Definition at line 988 of file unix/udp.c.

◆ uv_udp_init_ex()

UV_EXTERN int uv_udp_init_ex ( uv_loop_t ,
uv_udp_t handle,
unsigned int  flags 
)

Definition at line 947 of file unix/udp.c.

◆ uv_udp_open()

UV_EXTERN int uv_udp_open ( uv_udp_t handle,
uv_os_sock_t  sock 
)

Definition at line 993 of file unix/udp.c.

◆ uv_udp_recv_start()

UV_EXTERN int uv_udp_recv_start ( uv_udp_t handle,
uv_alloc_cb  alloc_cb,
uv_udp_recv_cb  recv_cb 
)

Definition at line 438 of file uv-common.c.

◆ uv_udp_recv_stop()

UV_EXTERN int uv_udp_recv_stop ( uv_udp_t handle)

Definition at line 448 of file uv-common.c.

◆ uv_udp_send()

UV_EXTERN int uv_udp_send ( uv_udp_send_t req,
uv_udp_t handle,
const uv_buf_t  bufs[],
unsigned int  nbufs,
const struct sockaddr *  addr,
uv_udp_send_cb  send_cb 
)

Definition at line 408 of file uv-common.c.

◆ uv_udp_set_broadcast()

UV_EXTERN int uv_udp_set_broadcast ( uv_udp_t handle,
int  on 
)

Definition at line 1135 of file unix/udp.c.

◆ uv_udp_set_membership()

UV_EXTERN int uv_udp_set_membership ( uv_udp_t handle,
const char *  multicast_addr,
const char *  interface_addr,
uv_membership  membership 
)

Definition at line 1019 of file unix/udp.c.

◆ uv_udp_set_multicast_interface()

UV_EXTERN int uv_udp_set_multicast_interface ( uv_udp_t handle,
const char *  interface_addr 
)

Definition at line 1234 of file unix/udp.c.

◆ uv_udp_set_multicast_loop()

UV_EXTERN int uv_udp_set_multicast_loop ( uv_udp_t handle,
int  on 
)

Definition at line 1210 of file unix/udp.c.

◆ uv_udp_set_multicast_ttl()

UV_EXTERN int uv_udp_set_multicast_ttl ( uv_udp_t handle,
int  ttl 
)

Definition at line 1185 of file unix/udp.c.

◆ uv_udp_set_source_membership()

UV_EXTERN int uv_udp_set_source_membership ( uv_udp_t handle,
const char *  multicast_addr,
const char *  interface_addr,
const char *  source_addr,
uv_membership  membership 
)

Definition at line 1043 of file unix/udp.c.

◆ uv_udp_set_ttl()

UV_EXTERN int uv_udp_set_ttl ( uv_udp_t handle,
int  ttl 
)

Definition at line 1148 of file unix/udp.c.

◆ uv_udp_try_send()

UV_EXTERN int uv_udp_try_send ( uv_udp_t handle,
const uv_buf_t  bufs[],
unsigned int  nbufs,
const struct sockaddr *  addr 
)

Definition at line 424 of file uv-common.c.

◆ uv_unref()

UV_EXTERN void uv_unref ( uv_handle_t )

Definition at line 522 of file uv-common.c.

◆ uv_update_time()

UV_EXTERN void uv_update_time ( uv_loop_t )

Definition at line 413 of file unix/core.c.

◆ uv_uptime()

UV_EXTERN int uv_uptime ( double *  uptime)

Definition at line 959 of file aix.c.

◆ uv_version()

UV_EXTERN unsigned int uv_version ( void  )

Definition at line 38 of file version.c.

◆ uv_version_string()

const UV_EXTERN char* uv_version_string ( void  )

Definition at line 43 of file version.c.

◆ uv_walk()

UV_EXTERN void uv_walk ( uv_loop_t loop,
uv_walk_cb  walk_cb,
void *  arg 
)

Definition at line 456 of file uv-common.c.

◆ uv_write()

UV_EXTERN int uv_write ( uv_write_t req,
uv_stream_t handle,
const uv_buf_t  bufs[],
unsigned int  nbufs,
uv_write_cb  cb 
)

Definition at line 1492 of file unix/stream.c.

◆ uv_write2()

UV_EXTERN int uv_write2 ( uv_write_t req,
uv_stream_t handle,
const uv_buf_t  bufs[],
unsigned int  nbufs,
uv_stream_t send_handle,
uv_write_cb  cb 
)

Definition at line 1393 of file unix/stream.c.

async_greeter_server_with_graceful_shutdown.loop
loop
Definition: async_greeter_server_with_graceful_shutdown.py:59
idle
static uv_idle_t idle
Definition: test-poll-oob.c:37
read_cb
static void read_cb(uv_stream_t *stream, ssize_t nread, const uv_buf_t *buf)
Definition: benchmark-pound.c:138
XX
#define XX(code, _)
Definition: uv.h:1756
write
#define write
Definition: test-fs.c:47
alloc_cb
static void alloc_cb(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf)
Definition: benchmark-pound.c:84
tcp
static uv_tcp_t tcp
Definition: test-connection-fail.c:29
u
OPENSSL_EXPORT pem_password_cb void * u
Definition: pem.h:351
udp_send
static void udp_send(uv_udp_send_t *req, int status)
Definition: test-getsockname.c:266
process
static uv_process_t process
Definition: benchmark-spawn.c:32
tty
uv_tty_t tty
Definition: libuv/docs/code/tty/main.c:7
signal
static void signal(notification *n)
Definition: alts_tsi_handshaker_test.cc:107
req
static uv_connect_t req
Definition: test-connection-fail.c:30
WRITE
#define WRITE(byte)
CHECK
#define CHECK(x)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:8085
fs_event
static uv_fs_event_t fs_event
Definition: test-fs-event.c:49
UDP
@ UDP
Definition: task.h:83
data
char data[kBufferLength]
Definition: abseil-cpp/absl/strings/internal/str_format/float_conversion.cc:1006
prepare
static uv_prepare_t prepare
Definition: test-async.c:30
TCP
@ TCP
Definition: task.h:82
close_cb
static void close_cb(uv_handle_t *handle)
Definition: benchmark-million-timers.c:36
udp
static uv_udp_t udp
Definition: test-getsockname.c:38
async
uv_async_t async
Definition: libuv/docs/code/progress/main.c:8
check
static void check(upb_inttable *t)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:1715
handle
static csh handle
Definition: test_arm_regression.c:16
asyncio_get_stats.type
type
Definition: asyncio_get_stats.py:37
timer
static uv_timer_t timer
Definition: test-callback-stack.c:34
stream
voidpf stream
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:136


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:37