27#if defined(BUILDING_UV_SHARED) && defined(USING_UV_SHARED)
28#error "Define either BUILDING_UV_SHARED or USING_UV_SHARED, not both."
34# if defined(BUILDING_UV_SHARED)
36# define UV_EXTERN __declspec(dllexport)
37# elif defined(USING_UV_SHARED)
39# define UV_EXTERN __declspec(dllimport)
45# define UV_EXTERN __attribute__((visibility("default")))
46#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
47# define UV_EXTERN __global
72#define UV_ERRNO_MAP(XX) \
73 XX(E2BIG, "argument list too long") \
74 XX(EACCES, "permission denied") \
75 XX(EADDRINUSE, "address already in use") \
76 XX(EADDRNOTAVAIL, "address not available") \
77 XX(EAFNOSUPPORT, "address family not supported") \
78 XX(EAGAIN, "resource temporarily unavailable") \
79 XX(EAI_ADDRFAMILY, "address family not supported") \
80 XX(EAI_AGAIN, "temporary failure") \
81 XX(EAI_BADFLAGS, "bad ai_flags value") \
82 XX(EAI_BADHINTS, "invalid value for hints") \
83 XX(EAI_CANCELED, "request canceled") \
84 XX(EAI_FAIL, "permanent failure") \
85 XX(EAI_FAMILY, "ai_family not supported") \
86 XX(EAI_MEMORY, "out of memory") \
87 XX(EAI_NODATA, "no address") \
88 XX(EAI_NONAME, "unknown node or service") \
89 XX(EAI_OVERFLOW, "argument buffer overflow") \
90 XX(EAI_PROTOCOL, "resolved protocol is unknown") \
91 XX(EAI_SERVICE, "service not available for socket type") \
92 XX(EAI_SOCKTYPE, "socket type not supported") \
93 XX(EALREADY, "connection already in progress") \
94 XX(EBADF, "bad file descriptor") \
95 XX(EBUSY, "resource busy or locked") \
96 XX(ECANCELED, "operation canceled") \
97 XX(ECHARSET, "invalid Unicode character") \
98 XX(ECONNABORTED, "software caused connection abort") \
99 XX(ECONNREFUSED, "connection refused") \
100 XX(ECONNRESET, "connection reset by peer") \
101 XX(EDESTADDRREQ, "destination address required") \
102 XX(EEXIST, "file already exists") \
103 XX(EFAULT, "bad address in system call argument") \
104 XX(EFBIG, "file too large") \
105 XX(EHOSTUNREACH, "host is unreachable") \
106 XX(EINTR, "interrupted system call") \
107 XX(EINVAL, "invalid argument") \
108 XX(EIO, "i/o error") \
109 XX(EISCONN, "socket is already connected") \
110 XX(EISDIR, "illegal operation on a directory") \
111 XX(ELOOP, "too many symbolic links encountered") \
112 XX(EMFILE, "too many open files") \
113 XX(EMSGSIZE, "message too long") \
114 XX(ENAMETOOLONG, "name too long") \
115 XX(ENETDOWN, "network is down") \
116 XX(ENETUNREACH, "network is unreachable") \
117 XX(ENFILE, "file table overflow") \
118 XX(ENOBUFS, "no buffer space available") \
119 XX(ENODEV, "no such device") \
120 XX(ENOENT, "no such file or directory") \
121 XX(ENOMEM, "not enough memory") \
122 XX(ENONET, "machine is not on the network") \
123 XX(ENOPROTOOPT, "protocol not available") \
124 XX(ENOSPC, "no space left on device") \
125 XX(ENOSYS, "function not implemented") \
126 XX(ENOTCONN, "socket is not connected") \
127 XX(ENOTDIR, "not a directory") \
128 XX(ENOTEMPTY, "directory not empty") \
129 XX(ENOTSOCK, "socket operation on non-socket") \
130 XX(ENOTSUP, "operation not supported on socket") \
131 XX(EOVERFLOW, "value too large for defined data type") \
132 XX(EPERM, "operation not permitted") \
133 XX(EPIPE, "broken pipe") \
134 XX(EPROTO, "protocol error") \
135 XX(EPROTONOSUPPORT, "protocol not supported") \
136 XX(EPROTOTYPE, "protocol wrong type for socket") \
137 XX(ERANGE, "result too large") \
138 XX(EROFS, "read-only file system") \
139 XX(ESHUTDOWN, "cannot send after transport endpoint shutdown") \
140 XX(ESPIPE, "invalid seek") \
141 XX(ESRCH, "no such process") \
142 XX(ETIMEDOUT, "connection timed out") \
143 XX(ETXTBSY, "text file is busy") \
144 XX(EXDEV, "cross-device link not permitted") \
145 XX(UNKNOWN, "unknown error") \
146 XX(EOF, "end of file") \
147 XX(ENXIO, "no such device or address") \
148 XX(EMLINK, "too many links") \
149 XX(EHOSTDOWN, "host is down") \
150 XX(EREMOTEIO, "remote I/O error") \
151 XX(ENOTTY, "inappropriate ioctl for device") \
152 XX(EFTYPE, "inappropriate file type or format") \
153 XX(EILSEQ, "illegal byte sequence") \
154 XX(ESOCKTNOSUPPORT, "socket type not supported") \
155 XX(ENODATA, "no data available") \
156 XX(EUNATCH, "protocol driver not attached") \
158#define UV_HANDLE_TYPE_MAP(XX) \
161 XX(FS_EVENT, fs_event) \
162 XX(FS_POLL, fs_poll) \
165 XX(NAMED_PIPE, pipe) \
167 XX(PREPARE, prepare) \
168 XX(PROCESS, process) \
176#define UV_REQ_TYPE_MAP(XX) \
178 XX(CONNECT, connect) \
180 XX(SHUTDOWN, shutdown) \
181 XX(UDP_SEND, udp_send) \
184 XX(GETADDRINFO, getaddrinfo) \
185 XX(GETNAMEINFO, getnameinfo) \
189#define XX(code, _) UV_ ## code = UV__ ## code,
197#define XX(uc, lc) UV_##uc,
206#define XX(uc, lc) UV_##uc,
273typedef void* (*uv_malloc_func)(
size_t size);
274typedef void* (*uv_realloc_func)(
void*
ptr,
size_t size);
275typedef void* (*uv_calloc_func)(
size_t count,
size_t size);
319 size_t suggested_size,
342 struct addrinfo* res);
345 const char* hostname,
346 const char* service);
400 const char* filename,
427#define UV_REQ_FIELDS \
434 UV_REQ_PRIVATE_FIELDS \
458#define UV_HANDLE_FIELDS \
463 uv_handle_type type; \
465 uv_close_cb close_cb; \
466 struct uv__queue handle_queue; \
471 UV_HANDLE_PRIVATE_FIELDS \
515#define UV_STREAM_FIELDS \
517 size_t write_queue_size; \
518 uv_alloc_cb alloc_cb; \
519 uv_read_cb read_cb; \
521 UV_STREAM_PRIVATE_FIELDS
608 const struct sockaddr* addr,
611 struct sockaddr*
name,
614 struct sockaddr*
name,
619 const struct sockaddr* addr,
681 const struct sockaddr* addr,
712 const struct sockaddr* addr,
717 struct sockaddr*
name,
720 struct sockaddr*
name,
723 const char* multicast_addr,
724 const char* interface_addr,
727 const char* multicast_addr,
728 const char* interface_addr,
729 const char* source_addr,
734 const char* interface_addr);
741 const struct sockaddr* addr,
746 const struct sockaddr* addr);
951 const struct addrinfo* hints);
971 const struct sockaddr* addr,
1258#if defined(__PASE__)
1260# define UV_PRIORITY_LOW 39
1261# define UV_PRIORITY_BELOW_NORMAL 15
1262# define UV_PRIORITY_NORMAL 0
1263# define UV_PRIORITY_ABOVE_NORMAL -4
1264# define UV_PRIORITY_HIGH -7
1265# define UV_PRIORITY_HIGHEST -10
1267# define UV_PRIORITY_LOW 19
1268# define UV_PRIORITY_BELOW_NORMAL 10
1269# define UV_PRIORITY_NORMAL 0
1270# define UV_PRIORITY_ABOVE_NORMAL -7
1271# define UV_PRIORITY_HIGH -14
1272# define UV_PRIORITY_HIGHEST -20
1299#ifdef MAXHOSTNAMELEN
1300# define UV_MAXHOSTNAMESIZE (MAXHOSTNAMELEN + 1)
1307# define UV_MAXHOSTNAMESIZE 256
1426#define UV_FS_COPYFILE_EXCL 0x0001
1432#define UV_FS_COPYFILE_FICLONE 0x0002
1438#define UV_FS_COPYFILE_FICLONE_FORCE 0x0004
1443 const char* new_path,
1493 const char* new_path,
1550 const char* new_path,
1557#define UV_FS_SYMLINK_DIR 0x0001
1563#define UV_FS_SYMLINK_JUNCTION 0x0002
1568 const char* new_path,
1635 unsigned int interval);
1696 unsigned int flags);
1732#if defined(IF_NAMESIZE)
1733# define UV_IF_NAMESIZE (IF_NAMESIZE + 1)
1734#elif defined(IFNAMSIZ)
1735# define UV_IF_NAMESIZE (IFNAMSIZ + 1)
1737# define UV_IF_NAMESIZE (16 + 1)
1848#define XX(_, name) uv_ ## name ## _t name;
1885 size_t* wtf8_len_ptr);
1892#undef UV_HANDLE_TYPE_PRIVATE
1893#undef UV_REQ_TYPE_PRIVATE
1894#undef UV_REQ_PRIVATE_FIELDS
1895#undef UV_STREAM_PRIVATE_FIELDS
1896#undef UV_TCP_PRIVATE_FIELDS
1897#undef UV_PREPARE_PRIVATE_FIELDS
1898#undef UV_CHECK_PRIVATE_FIELDS
1899#undef UV_IDLE_PRIVATE_FIELDS
1900#undef UV_ASYNC_PRIVATE_FIELDS
1901#undef UV_TIMER_PRIVATE_FIELDS
1902#undef UV_GETADDRINFO_PRIVATE_FIELDS
1903#undef UV_GETNAMEINFO_PRIVATE_FIELDS
1904#undef UV_FS_REQ_PRIVATE_FIELDS
1905#undef UV_WORK_PRIVATE_FIELDS
1906#undef UV_FS_EVENT_PRIVATE_FIELDS
1907#undef UV_SIGNAL_PRIVATE_FIELDS
1908#undef UV_LOOP_PRIVATE_FIELDS
1909#undef UV_LOOP_PRIVATE_PLATFORM_FIELDS
then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file
Definition: ThirdPartyNotices.txt:192
and restrictions which apply to each piece of software is included later in this file and or inside of the individual applicable source files The disclaimer of warranty in the WPILib license above applies to all code in and nothing in any of the other licenses gives permission to use the names of FIRST nor the names of the WPILib contributors to endorse or promote products derived from this software The following pieces of software have additional or alternate and or Google Inc All rights reserved Redistribution and use in source and binary with or without are permitted provided that the following conditions are this list of conditions and the following disclaimer *Redistributions in binary form must reproduce the above copyright this list of conditions and the following disclaimer in the documentation and or other materials provided with the distribution *Neither the name of Google Inc nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS IS AND ANY EXPRESS OR IMPLIED BUT NOT LIMITED THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY OR CONSEQUENTIAL WHETHER IN STRICT OR EVEN IF ADVISED OF THE POSSIBILITY OF SUCH January AND DISTRIBUTION Definitions License shall mean the terms and conditions for and distribution as defined by Sections through of this document Licensor shall mean the copyright owner or entity authorized by the copyright owner that is granting the License Legal Entity shall mean the union of the acting entity and all other entities that control are controlled by or are under common control with that entity For the purposes of this definition control direct or to cause the direction or management of such whether by contract or including but not limited to software source documentation and configuration files Object form shall mean any form resulting from mechanical transformation or translation of a Source including but not limited to compiled object generated and conversions to other media types Work shall mean the work of whether in Source or Object made available under the as indicated by a copyright notice that is included in or attached to the whether in Source or Object that is based on(or derived from) the Work and for which the editorial revisions
auto arg(const Char *name, const T &arg) -> detail::named_arg< Char, T >
\rst Returns a named argument to be used in a formatting function.
Definition: core.h:1841
constexpr auto count() -> size_t
Definition: core.h:1203
state
Definition: core.h:2271
type
Definition: core.h:556
constexpr const char * name(const T &)
struct uv__queue * next
Definition: uv.h:61
struct uv__queue * prev
Definition: uv.h:62
Definition: threadpool.h:30
struct uv_loop_s * loop
Definition: threadpool.h:33
It should be possible to cast uv_buf_t[] to WSABUF[] see http://msdn.microsoft.com/en-us/library/ms74...
Definition: unix.h:112
uv_stream_t * handle
Definition: uv.h:626
UV_REQ_FIELDS uv_connect_cb cb
Definition: uv.h:625
struct uv_cpu_times_s cpu_times
Definition: uv.h:1151
char * model
Definition: uv.h:1149
int speed
Definition: uv.h:1150
uint64_t nice
Definition: uv.h:1142
uint64_t sys
Definition: uv.h:1143
uint64_t idle
Definition: uv.h:1144
uint64_t user
Definition: uv.h:1141
uint64_t irq
Definition: uv.h:1145
uv_dirent_t * dirents
Definition: uv.h:1367
void * reserved[4]
Definition: uv.h:1369
size_t nentries
Definition: uv.h:1368
uv_dirent_type_t type
Definition: uv.h:1216
const char * name
Definition: uv.h:1215
char * value
Definition: uv.h:1290
char * name
Definition: uv.h:1289
UV_HANDLE_FIELDS char * path
Definition: uv.h:1617
UV_HANDLE_FIELDS void * poll_ctx
Definition: uv.h:1628
uv_stat_t statbuf
Definition: uv.h:1382
const char * path
Definition: uv.h:1381
void * ptr
Definition: uv.h:1380
ssize_t result
Definition: uv.h:1379
UV_REQ_FIELDS uv_fs_type fs_type
Definition: uv.h:1376
uv_loop_t * loop
Definition: uv.h:1377
uv_fs_cb cb
Definition: uv.h:1378
UV_REQ_FIELDS uv_loop_t * loop
Definition: uv.h:940
UV_REQ_FIELDS uv_loop_t * loop
Definition: uv.h:963
unsigned long gid
Definition: uv.h:1178
char * groupname
Definition: uv.h:1177
char ** members
Definition: uv.h:1179
int is_internal
Definition: uv.h:1157
struct sockaddr_in6 netmask6
Definition: uv.h:1164
struct sockaddr_in6 address6
Definition: uv.h:1160
union uv_interface_address_s::@21 address
struct sockaddr_in netmask4
Definition: uv.h:1163
struct sockaddr_in address4
Definition: uv.h:1159
union uv_interface_address_s::@22 netmask
char * name
Definition: uv.h:1155
char phys_addr[6]
Definition: uv.h:1156
unsigned int stop_flag
Definition: uv.h:1872
void * internal_fields
Definition: uv.h:1870
union uv_loop_s::@23 active_reqs
void * data
Definition: uv.h:1861
unsigned int count
Definition: uv.h:1867
unsigned int active_handles
Definition: uv.h:1863
struct uv__queue handle_queue
Definition: uv.h:1864
void * unused
Definition: uv.h:1866
uint64_t events
Definition: uv.h:1316
uint64_t events_waiting
Definition: uv.h:1317
uint64_t * reserved[13]
Definition: uv.h:1319
uint64_t loop_count
Definition: uv.h:1315
char * username
Definition: uv.h:1169
char * homedir
Definition: uv.h:1173
unsigned long uid
Definition: uv.h:1170
unsigned long gid
Definition: uv.h:1171
char * shell
Definition: uv.h:1172
UV_HANDLE_FIELDS UV_STREAM_FIELDS int ipc
Definition: uv.h:815
UV_HANDLE_FIELDS uv_poll_cb poll_cb
Definition: uv.h:850
uv_uid_t uid
Definition: uv.h:1050
const char * file
Definition: uv.h:1011
char ** env
Definition: uv.h:1023
uv_stdio_container_t * stdio
Definition: uv.h:1044
unsigned int flags
Definition: uv.h:1033
char ** args
Definition: uv.h:1018
int stdio_count
Definition: uv.h:1043
uv_exit_cb exit_cb
Definition: uv.h:1010
uv_gid_t gid
Definition: uv.h:1051
const char * cwd
Definition: uv.h:1028
int pid
Definition: uv.h:1109
UV_HANDLE_FIELDS uv_exit_cb exit_cb
Definition: uv.h:1108
void * buf
Definition: uv.h:1719
struct uv__work work_req
Definition: uv.h:1722
size_t buflen
Definition: uv.h:1720
UV_REQ_FIELDS uv_loop_t * loop
Definition: uv.h:1716
int status
Definition: uv.h:1718
uv_random_cb cb
Definition: uv.h:1721
uint64_t ru_msgrcv
Definition: uv.h:1240
uv_timeval_t ru_utime
Definition: uv.h:1228
uint64_t ru_nsignals
Definition: uv.h:1241
uint64_t ru_ixrss
Definition: uv.h:1231
uint64_t ru_idrss
Definition: uv.h:1232
uv_timeval_t ru_stime
Definition: uv.h:1229
uint64_t ru_isrss
Definition: uv.h:1233
uint64_t ru_minflt
Definition: uv.h:1234
uint64_t ru_majflt
Definition: uv.h:1235
uint64_t ru_nivcsw
Definition: uv.h:1243
uint64_t ru_oublock
Definition: uv.h:1238
uint64_t ru_nswap
Definition: uv.h:1236
uint64_t ru_maxrss
Definition: uv.h:1230
uint64_t ru_inblock
Definition: uv.h:1237
uint64_t ru_msgsnd
Definition: uv.h:1239
uint64_t ru_nvcsw
Definition: uv.h:1242
UV_REQ_FIELDS uv_stream_t * handle
Definition: uv.h:452
uv_shutdown_cb cb
Definition: uv.h:453
int signum
Definition: uv.h:1645
UV_HANDLE_FIELDS uv_signal_cb signal_cb
Definition: uv.h:1644
uint64_t st_nlink
Definition: uv.h:382
uint64_t st_ino
Definition: uv.h:386
uint64_t st_flags
Definition: uv.h:390
uint64_t st_mode
Definition: uv.h:381
uv_timespec_t st_birthtim
Definition: uv.h:395
uint64_t st_size
Definition: uv.h:387
uv_timespec_t st_ctim
Definition: uv.h:394
uint64_t st_blocks
Definition: uv.h:389
uv_timespec_t st_mtim
Definition: uv.h:393
uv_timespec_t st_atim
Definition: uv.h:392
uint64_t st_gid
Definition: uv.h:384
uint64_t st_gen
Definition: uv.h:391
uint64_t st_dev
Definition: uv.h:380
uint64_t st_uid
Definition: uv.h:383
uint64_t st_rdev
Definition: uv.h:385
uint64_t st_blksize
Definition: uv.h:388
uint64_t f_files
Definition: uv.h:1198
uint64_t f_type
Definition: uv.h:1193
uint64_t f_bsize
Definition: uv.h:1194
uint64_t f_bfree
Definition: uv.h:1196
uint64_t f_ffree
Definition: uv.h:1199
uint64_t f_bavail
Definition: uv.h:1197
uint64_t f_spare[4]
Definition: uv.h:1200
uint64_t f_blocks
Definition: uv.h:1195
union uv_stdio_container_s::@20 data
uv_stream_t * stream
Definition: uv.h:1004
int fd
Definition: uv.h:1005
uv_stdio_flags flags
Definition: uv.h:1001
unsigned int flags
Definition: uv.h:1824
size_t stack_size
Definition: uv.h:1825
int32_t tv_nsec
Definition: uv.h:365
int64_t tv_sec
Definition: uv.h:364
long tv_sec
Definition: uv.h:359
long tv_nsec
Definition: uv.h:360
int64_t tv_sec
Definition: uv.h:375
int32_t tv_usec
Definition: uv.h:376
long tv_usec
Definition: uv.h:371
long tv_sec
Definition: uv.h:370
size_t send_queue_count
Definition: uv.h:696
UV_HANDLE_FIELDS size_t send_queue_size
Definition: uv.h:692
UV_REQ_FIELDS uv_udp_t * handle
Definition: uv.h:703
uv_udp_send_cb cb
Definition: uv.h:704
char version[256]
Definition: uv.h:1185
char machine[256]
Definition: uv.h:1186
char release[256]
Definition: uv.h:1184
char sysname[256]
Definition: uv.h:1183
uv_after_work_cb after_work_cb
Definition: uv.h:1128
uv_work_cb work_cb
Definition: uv.h:1127
UV_REQ_FIELDS uv_loop_t * loop
Definition: uv.h:1126
uv_stream_t * send_handle
Definition: uv.h:568
uv_stream_t * handle
Definition: uv.h:569
UV_REQ_FIELDS uv_write_cb cb
Definition: uv.h:567
#define UV_WORK_PRIVATE_FIELDS
Definition: unix.h:365
#define UV_FS_PRIVATE_FIELDS
Definition: unix.h:350
uid_t uv_uid_t
Definition: unix.h:158
UV_PLATFORM_SEM_T uv_sem_t
Definition: unix.h:128
#define UV_POLL_PRIVATE_FIELDS
Definition: unix.h:301
#define UV_SHUTDOWN_PRIVATE_FIELDS
Definition: unix.h:262
#define UV_TIMER_PRIVATE_FIELDS
Definition: unix.h:321
#define UV_UDP_SEND_PRIVATE_FIELDS
Definition: unix.h:264
#define UV_DIR_PRIVATE_FIELDS
Definition: unix.h:162
int uv_file
Definition: unix.h:117
pid_t uv_pid_t
Definition: unix.h:120
#define UV_WRITE_PRIVATE_FIELDS
Definition: unix.h:251
#define UV_PROCESS_PRIVATE_FIELDS
Definition: unix.h:346
#define UV_IDLE_PRIVATE_FIELDS
Definition: unix.h:312
#define UV_PREPARE_PRIVATE_FIELDS
Definition: unix.h:304
#define UV_SIGNAL_PRIVATE_FIELDS
Definition: unix.h:372
#define UV_GETNAMEINFO_PRIVATE_FIELDS
Definition: unix.h:337
#define UV_CHECK_PRIVATE_FIELDS
Definition: unix.h:308
pthread_mutex_t uv_mutex_t
Definition: unix.h:126
pthread_t uv_thread_t
Definition: unix.h:125
#define UV_UDP_PRIVATE_FIELDS
Definition: unix.h:291
#define UV_TTY_PRIVATE_FIELDS
Definition: unix.h:368
#define UV_FS_EVENT_PRIVATE_FIELDS
Definition: unix.h:384
pthread_once_t uv_once_t
Definition: unix.h:124
#define UV_GETADDRINFO_PRIVATE_FIELDS
Definition: unix.h:328
#define UV_TCP_PRIVATE_FIELDS
Definition: unix.h:289
int uv_os_fd_t
Definition: unix.h:119
#define UV_CONNECT_PRIVATE_FIELDS
Definition: unix.h:259
#define UV_ASYNC_PRIVATE_FIELDS
Definition: unix.h:316
#define UV_LOOP_PRIVATE_FIELDS
Definition: unix.h:212
#define UV_PIPE_PRIVATE_FIELDS
Definition: unix.h:298
#define UV_REQ_TYPE_PRIVATE
Definition: unix.h:245
gid_t uv_gid_t
Definition: unix.h:157
int uv_os_sock_t
Definition: unix.h:118
#define UV_PRIVATE_REQ_TYPES
Definition: unix.h:249
UV_EXTERN void uv_print_active_handles(uv_loop_t *loop, FILE *stream)
UV_EXTERN int uv_set_process_title(const char *title)
void(* uv_random_cb)(uv_random_t *req, int status, void *buf, size_t buflen)
Definition: uv.h:347
uv_thread_create_flags
Definition: uv.h:1818
@ UV_THREAD_HAS_STACK_SIZE
Definition: uv.h:1820
@ UV_THREAD_NO_FLAGS
Definition: uv.h:1819
UV_EXTERN void uv_key_delete(uv_key_t *key)
UV_EXTERN void uv_stop(uv_loop_t *)
UV_EXTERN uv_loop_t * uv_handle_get_loop(const uv_handle_t *handle)
UV_EXTERN int uv_exepath(char *buffer, size_t *size)
UV_EXTERN int uv_poll_init(uv_loop_t *loop, uv_poll_t *handle, int fd)
size_t uv_utf16_length_as_wtf8(const uint16_t *utf16, ssize_t utf16_len)
UV_EXTERN int uv_fs_fstat(uv_loop_t *loop, uv_fs_t *req, uv_file file, uv_fs_cb cb)
UV_EXTERN void uv_mutex_lock(uv_mutex_t *handle)
UV_EXTERN int uv_gettimeofday(uv_timeval64_t *tv)
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_cpu_info(uv_cpu_info_t **cpu_infos, int *count)
UV_EXTERN int uv_tcp_init_ex(uv_loop_t *, uv_tcp_t *handle, unsigned int flags)
uv_stdio_flags
Definition: uv.h:976
@ UV_INHERIT_FD
Definition: uv.h:979
@ UV_CREATE_PIPE
Definition: uv.h:978
@ UV_WRITABLE_PIPE
Definition: uv.h:988
@ UV_IGNORE
Definition: uv.h:977
@ UV_OVERLAPPED_PIPE
Definition: uv.h:997
@ UV_INHERIT_STREAM
Definition: uv.h:980
@ UV_READABLE_PIPE
Definition: uv.h:987
@ UV_NONBLOCK_PIPE
Definition: uv.h:996
UV_EXTERN void uv_free_interface_addresses(uv_interface_address_t *addresses, int count)
UV_EXTERN int uv_ip4_addr(const char *ip, int port, struct sockaddr_in *addr)
#define UV_HANDLE_FIELDS
Definition: uv.h:458
UV_EXTERN int uv_udp_bind(uv_udp_t *handle, const struct sockaddr *addr, unsigned int flags)
UV_EXTERN int uv_is_active(const uv_handle_t *handle)
UV_EXTERN uv_pid_t uv_process_get_pid(const uv_process_t *)
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_getrusage(uv_rusage_t *rusage)
uv_run_mode
Definition: uv.h:263
@ UV_RUN_NOWAIT
Definition: uv.h:266
@ UV_RUN_ONCE
Definition: uv.h:265
@ UV_RUN_DEFAULT
Definition: uv.h:264
void(* uv_write_cb)(uv_write_t *req, int status)
Definition: uv.h:324
uv_process_flags
Definition: uv.h:1057
@ UV_PROCESS_WINDOWS_HIDE_CONSOLE
Definition: uv.h:1094
@ UV_PROCESS_WINDOWS_VERBATIM_ARGUMENTS
Definition: uv.h:1075
@ UV_PROCESS_WINDOWS_HIDE
Definition: uv.h:1088
@ UV_PROCESS_SETUID
Definition: uv.h:1063
@ UV_PROCESS_SETGID
Definition: uv.h:1069
@ UV_PROCESS_DETACHED
Definition: uv.h:1083
@ UV_PROCESS_WINDOWS_HIDE_GUI
Definition: uv.h:1100
void(* uv_connection_cb)(uv_stream_t *server, int status)
Definition: uv.h:327
UV_EXTERN int uv_barrier_init(uv_barrier_t *barrier, unsigned int count)
UV_EXTERN void uv_walk(uv_loop_t *loop, uv_walk_cb walk_cb, void *arg)
UV_EXTERN int uv_translate_sys_error(int sys_errno)
UV_EXTERN void uv_print_all_handles(uv_loop_t *loop, FILE *stream)
UV_EXTERN void * uv_req_get_data(const uv_req_t *req)
UV_EXTERN int uv_check_start(uv_check_t *check, uv_check_cb cb)
UV_EXTERN int uv_interface_addresses(uv_interface_address_t **addresses, int *count)
UV_EXTERN int uv_tcp_keepalive(uv_tcp_t *handle, int enable, unsigned int delay)
UV_EXTERN int uv_rwlock_init(uv_rwlock_t *rwlock)
UV_EXTERN int uv_prepare_init(uv_loop_t *, uv_prepare_t *prepare)
UV_EXTERN int uv_recv_buffer_size(uv_handle_t *handle, int *value)
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_poll_getpath(uv_fs_poll_t *handle, char *buffer, size_t *size)
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_backend_timeout(const uv_loop_t *)
UV_EXTERN int uv_thread_join(uv_thread_t *tid)
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_init(uv_loop_t *, uv_timer_t *handle)
void(* uv_getaddrinfo_cb)(uv_getaddrinfo_t *req, int status, struct addrinfo *res)
Definition: uv.h:340
void *(* uv_malloc_func)(size_t size)
Definition: uv.h:273
UV_EXTERN int uv_tcp_open(uv_tcp_t *handle, uv_os_sock_t sock)
UV_EXTERN int uv_process_kill(uv_process_t *, int signum)
UV_EXTERN void uv_rwlock_wrlock(uv_rwlock_t *rwlock)
UV_EXTERN int uv_poll_start(uv_poll_t *handle, int events, uv_poll_cb cb)
UV_EXTERN int uv_kill(int pid, int signum)
UV_EXTERN int uv_ip6_addr(const char *ip, int port, struct sockaddr_in6 *addr)
UV_EXTERN const char * uv_handle_type_name(uv_handle_type type)
UV_EXTERN int uv_fs_fsync(uv_loop_t *loop, uv_fs_t *req, uv_file file, uv_fs_cb cb)
uv_tty_mode_t
Definition: uv.h:767
@ UV_TTY_MODE_IO
Definition: uv.h:773
@ UV_TTY_MODE_NORMAL
Definition: uv.h:769
@ UV_TTY_MODE_RAW
Definition: uv.h:771
void(* uv_fs_event_cb)(uv_fs_event_t *handle, const char *filename, int events, int status)
Definition: uv.h:399
UV_EXTERN int uv_try_write2(uv_stream_t *handle, const uv_buf_t bufs[], unsigned int nbufs, uv_stream_t *send_handle)
UV_EXTERN int uv_signal_start_oneshot(uv_signal_t *handle, uv_signal_cb signal_cb, int signum)
UV_EXTERN int uv_os_setpriority(uv_pid_t pid, int priority)
UV_EXTERN void uv_fs_req_cleanup(uv_fs_t *req)
UV_EXTERN int uv_if_indextoiid(unsigned int ifindex, char *buffer, size_t *size)
UV_EXTERN void uv_once(uv_once_t *guard, void(*callback)(void))
UV_EXTERN int uv_resident_set_memory(size_t *rss)
void(* uv_fs_poll_cb)(uv_fs_poll_t *handle, int status, const uv_stat_t *prev, const uv_stat_t *curr)
Definition: uv.h:404
UV_EXTERN int uv_spawn(uv_loop_t *loop, uv_process_t *handle, const uv_process_options_t *options)
UV_EXTERN int uv_idle_stop(uv_idle_t *idle)
UV_EXTERN int uv_udp_set_ttl(uv_udp_t *handle, int ttl)
uv_handle_type
Definition: uv.h:195
@ UV_FILE
Definition: uv.h:200
@ UV_HANDLE_TYPE_MAX
Definition: uv.h:201
@ UV_UNKNOWN_HANDLE
Definition: uv.h:196
UV_EXTERN uint64_t uv_get_free_memory(void)
UV_EXTERN int uv_if_indextoname(unsigned int ifindex, char *buffer, size_t *size)
void(* uv_free_func)(void *ptr)
Definition: uv.h:276
UV_EXTERN void uv_sleep(unsigned int msec)
UV_EXTERN int uv_tcp_connect(uv_connect_t *req, uv_tcp_t *handle, const struct sockaddr *addr, uv_connect_cb cb)
uv_udp_flags
Definition: uv.h:635
@ UV_UDP_LINUX_RECVERR
Definition: uv.h:670
@ UV_UDP_PARTIAL
Definition: uv.h:642
@ UV_UDP_MMSG_FREE
Definition: uv.h:662
@ UV_UDP_MMSG_CHUNK
Definition: uv.h:656
@ UV_UDP_IPV6ONLY
Definition: uv.h:637
@ UV_UDP_RECVMMSG
Definition: uv.h:674
@ UV_UDP_REUSEADDR
Definition: uv.h:651
UV_EXTERN void uv_sem_destroy(uv_sem_t *sem)
UV_EXTERN int uv_backend_fd(const uv_loop_t *)
UV_EXTERN int uv_udp_set_multicast_interface(uv_udp_t *handle, const char *interface_addr)
UV_EXTERN int uv_os_get_passwd(uv_passwd_t *pwd)
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_udp_init_ex(uv_loop_t *, uv_udp_t *handle, unsigned int flags)
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_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_thread_getaffinity(uv_thread_t *tid, char *cpumask, size_t mask_size)
UV_EXTERN int uv_signal_start(uv_signal_t *handle, uv_signal_cb signal_cb, int signum)
UV_EXTERN void uv_ref(uv_handle_t *)
uv_tcp_flags
Definition: uv.h:602
@ UV_TCP_IPV6ONLY
Definition: uv.h:604
UV_EXTERN uv_buf_t uv_buf_init(char *base, unsigned int len)
UV_EXTERN int uv_check_init(uv_loop_t *, uv_check_t *check)
UV_EXTERN int uv_read_stop(uv_stream_t *)
UV_EXTERN int uv_os_environ(uv_env_item_t **envitems, int *count)
UV_EXTERN size_t uv_handle_size(uv_handle_type type)
UV_EXTERN size_t uv_req_size(uv_req_type type)
UV_EXTERN const char * uv_version_string(void)
UV_EXTERN int uv_mutex_init_recursive(uv_mutex_t *handle)
UV_EXTERN uint64_t uv_hrtime(void)
UV_EXTERN void uv_loop_set_data(uv_loop_t *, void *data)
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_thread_getcpu(void)
UV_EXTERN int uv_stream_set_blocking(uv_stream_t *handle, int blocking)
UV_EXTERN int uv_dlopen(const char *filename, uv_lib_t *lib)
UV_EXTERN void * uv_key_get(uv_key_t *key)
UV_EXTERN int uv_os_getpriority(uv_pid_t pid, int *priority)
void(* uv_prepare_cb)(uv_prepare_t *handle)
Definition: uv.h:332
UV_EXTERN int uv_read_start(uv_stream_t *, uv_alloc_cb alloc_cb, uv_read_cb read_cb)
void(* uv_after_work_cb)(uv_work_t *req, int status)
Definition: uv.h:339
UV_EXTERN int uv_tcp_close_reset(uv_tcp_t *handle, uv_close_cb close_cb)
UV_EXTERN void uv_os_free_group(uv_group_t *grp)
UV_EXTERN void uv_sem_post(uv_sem_t *sem)
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_ip_name(const struct sockaddr *src, char *dst, size_t size)
UV_EXTERN int uv_ip4_name(const struct sockaddr_in *src, char *dst, size_t size)
UV_EXTERN void * uv_fs_get_ptr(const uv_fs_t *)
UV_EXTERN int uv_metrics_info(uv_loop_t *loop, uv_metrics_t *metrics)
UV_EXTERN int uv_is_writable(const uv_stream_t *handle)
uv_clock_id
Definition: uv.h:352
@ UV_CLOCK_REALTIME
Definition: uv.h:354
@ UV_CLOCK_MONOTONIC
Definition: uv.h:353
UV_EXTERN int uv_listen(uv_stream_t *stream, int backlog, uv_connection_cb cb)
UV_EXTERN int uv_cwd(char *buffer, size_t *size)
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_recv_stop(uv_udp_t *handle)
UV_EXTERN void uv_os_free_passwd(uv_passwd_t *pwd)
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 void uv_freeaddrinfo(struct addrinfo *ai)
uv_fs_type
Definition: uv.h:1325
@ UV_FS_STATFS
Definition: uv.h:1361
@ UV_FS_CUSTOM
Definition: uv.h:1327
@ UV_FS_SYMLINK
Definition: uv.h:1351
@ UV_FS_FDATASYNC
Definition: uv.h:1343
@ UV_FS_FCHMOD
Definition: uv.h:1341
@ UV_FS_SCANDIR
Definition: uv.h:1349
@ UV_FS_FTRUNCATE
Definition: uv.h:1336
@ UV_FS_READDIR
Definition: uv.h:1359
@ UV_FS_SENDFILE
Definition: uv.h:1332
@ UV_FS_OPENDIR
Definition: uv.h:1358
@ UV_FS_RENAME
Definition: uv.h:1348
@ UV_FS_READLINK
Definition: uv.h:1352
@ UV_FS_LUTIME
Definition: uv.h:1363
@ UV_FS_STAT
Definition: uv.h:1333
@ UV_FS_CHOWN
Definition: uv.h:1353
@ UV_FS_FUTIME
Definition: uv.h:1338
@ UV_FS_CHMOD
Definition: uv.h:1340
@ UV_FS_REALPATH
Definition: uv.h:1355
@ UV_FS_UNKNOWN
Definition: uv.h:1326
@ UV_FS_UNLINK
Definition: uv.h:1344
@ UV_FS_MKSTEMP
Definition: uv.h:1362
@ UV_FS_RMDIR
Definition: uv.h:1345
@ UV_FS_CLOSEDIR
Definition: uv.h:1360
@ UV_FS_MKDTEMP
Definition: uv.h:1347
@ UV_FS_CLOSE
Definition: uv.h:1329
@ UV_FS_FSYNC
Definition: uv.h:1342
@ UV_FS_FCHOWN
Definition: uv.h:1354
@ UV_FS_READ
Definition: uv.h:1330
@ UV_FS_COPYFILE
Definition: uv.h:1356
@ UV_FS_MKDIR
Definition: uv.h:1346
@ UV_FS_UTIME
Definition: uv.h:1337
@ UV_FS_ACCESS
Definition: uv.h:1339
@ UV_FS_FSTAT
Definition: uv.h:1335
@ UV_FS_LCHOWN
Definition: uv.h:1357
@ UV_FS_LSTAT
Definition: uv.h:1334
@ UV_FS_OPEN
Definition: uv.h:1328
@ UV_FS_WRITE
Definition: uv.h:1331
@ UV_FS_LINK
Definition: uv.h:1350
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_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_loop_init(uv_loop_t *loop)
UV_EXTERN int uv_prepare_start(uv_prepare_t *prepare, uv_prepare_cb cb)
UV_EXTERN int uv_os_get_passwd2(uv_passwd_t *pwd, uv_uid_t uid)
UV_EXTERN void uv_mutex_destroy(uv_mutex_t *handle)
UV_EXTERN char * uv_strerror_r(int err, char *buf, size_t buflen)
UV_EXTERN void uv_tty_set_vterm_state(uv_tty_vtermstate_t state)
UV_EXTERN unsigned int uv_available_parallelism(void)
UV_EXTERN int uv_pipe_pending_count(uv_pipe_t *handle)
UV_EXTERN int uv_pipe_getsockname(const uv_pipe_t *handle, char *buffer, size_t *size)
void(* uv_thread_cb)(void *arg)
Definition: uv.h:1814
UV_EXTERN int uv_rwlock_tryrdlock(uv_rwlock_t *rwlock)
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 void uv_free_cpu_info(uv_cpu_info_t *cpu_infos, int count)
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_try_write(uv_stream_t *handle, const uv_buf_t bufs[], unsigned int nbufs)
UV_EXTERN int uv_pipe_init(uv_loop_t *, uv_pipe_t *handle, int ipc)
uv_membership
Definition: uv.h:412
@ UV_JOIN_GROUP
Definition: uv.h:414
@ UV_LEAVE_GROUP
Definition: uv.h:413
UV_EXTERN int uv_tcp_nodelay(uv_tcp_t *handle, int enable)
UV_PRIVATE_REQ_TYPES UV_EXTERN int uv_shutdown(uv_shutdown_t *req, uv_stream_t *handle, uv_shutdown_cb cb)
#define UV_ERRNO_MAP(XX)
Definition: uv.h:72
UV_EXTERN int uv_sem_trywait(uv_sem_t *sem)
UV_EXTERN int uv_run(uv_loop_t *, uv_run_mode mode)
UV_EXTERN int uv_fs_statfs(uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
UV_EXTERN size_t uv_stream_get_write_queue_size(const uv_stream_t *stream)
UV_EXTERN const char * uv_strerror(int err)
UV_EXTERN int uv_fs_poll_init(uv_loop_t *loop, uv_fs_poll_t *handle)
UV_EXTERN void uv_mutex_unlock(uv_mutex_t *handle)
UV_EXTERN void uv_rwlock_wrunlock(uv_rwlock_t *rwlock)
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_handle_set_data(uv_handle_t *handle, void *data)
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)
void(* uv_poll_cb)(uv_poll_t *handle, int status, int events)
Definition: uv.h:329
UV_EXTERN int uv_signal_stop(uv_signal_t *handle)
UV_EXTERN int uv_os_homedir(char *buffer, size_t *size)
void *(* uv_calloc_func)(size_t count, size_t size)
Definition: uv.h:275
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 int uv_pipe_connect2(uv_connect_t *req, uv_pipe_t *handle, const char *name, size_t namelen, unsigned int flags, uv_connect_cb cb)
#define UV_REQ_FIELDS
Definition: uv.h:427
UV_EXTERN void uv_key_set(uv_key_t *key, void *value)
UV_EXTERN uv_os_fd_t uv_get_osfhandle(int fd)
UV_EXTERN int uv_dlsym(uv_lib_t *lib, const char *name, void **ptr)
uv_tty_vtermstate_t
Definition: uv.h:776
@ UV_TTY_UNSUPPORTED
Definition: uv.h:785
@ UV_TTY_SUPPORTED
Definition: uv.h:781
UV_EXTERN int uv_barrier_wait(uv_barrier_t *barrier)
UV_EXTERN int uv_socketpair(int type, int protocol, uv_os_sock_t socket_vector[2], int flags0, int flags1)
ssize_t uv_wtf8_length_as_utf16(const char *wtf8)
UV_EXTERN int uv_tty_set_mode(uv_tty_t *, uv_tty_mode_t mode)
UV_EXTERN const char * uv_req_type_name(uv_req_type type)
int uv_utf16_to_wtf8(const uint16_t *utf16, ssize_t utf16_len, char **wtf8_ptr, size_t *wtf8_len_ptr)
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)
void(* uv_getnameinfo_cb)(uv_getnameinfo_t *req, int status, const char *hostname, const char *service)
Definition: uv.h:343
UV_EXTERN int uv_fs_event_stop(uv_fs_event_t *handle)
UV_EXTERN int uv_fs_chmod(uv_loop_t *loop, uv_fs_t *req, const char *path, int mode, uv_fs_cb cb)
uv_fs_event_flags
Definition: uv.h:1664
@ UV_FS_EVENT_RECURSIVE
Definition: uv.h:1688
@ UV_FS_EVENT_STAT
Definition: uv.h:1681
@ UV_FS_EVENT_WATCH_ENTRY
Definition: uv.h:1672
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_udp_set_multicast_ttl(uv_udp_t *handle, int ttl)
UV_EXTERN char ** uv_setup_args(int argc, char **argv)
UV_EXTERN void uv_barrier_destroy(uv_barrier_t *barrier)
UV_EXTERN int uv_os_getenv(const char *name, char *buffer, size_t *size)
UV_EXTERN int uv_timer_stop(uv_timer_t *handle)
UV_EXTERN uint64_t uv_get_constrained_memory(void)
UV_EXTERN void uv_req_set_data(uv_req_t *req, void *data)
UV_EXTERN int uv_os_gethostname(char *buffer, size_t *size)
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_udp_open(uv_udp_t *handle, uv_os_sock_t sock)
UV_EXTERN uv_fs_type uv_fs_get_type(const uv_fs_t *)
uv_fs_event
Definition: uv.h:1608
@ UV_CHANGE
Definition: uv.h:1610
@ UV_RENAME
Definition: uv.h:1609
UV_EXTERN int uv_thread_equal(const uv_thread_t *t1, const uv_thread_t *t2)
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)
UV_EXTERN uv_handle_type uv_pipe_pending_type(uv_pipe_t *handle)
UV_EXTERN uint64_t uv_now(const uv_loop_t *)
UV_EXTERN uv_req_type uv_req_get_type(const uv_req_t *req)
UV_EXTERN void uv_pipe_pending_instances(uv_pipe_t *handle, int count)
UV_EXTERN int uv_pipe_bind(uv_pipe_t *handle, const char *name)
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)
struct uv_process_options_s uv_process_options_t
UV_EXTERN uv_loop_t * uv_loop_new(void)
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_os_uname(uv_utsname_t *buffer)
UV_EXTERN int uv_fs_get_system_error(const uv_fs_t *)
UV_EXTERN int uv_loop_fork(uv_loop_t *loop)
UV_EXTERN int uv_tcp_bind(uv_tcp_t *handle, const struct sockaddr *addr, unsigned int flags)
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 int uv_inet_ntop(int af, const void *src, char *dst, size_t size)
#define XX(code, _)
Definition: uv.h:1848
UV_EXTERN void uv_unref(uv_handle_t *)
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_tty_reset_mode(void)
void(* uv_check_cb)(uv_check_t *handle)
Definition: uv.h:333
UV_EXTERN char * uv_err_name_r(int err, char *buf, size_t buflen)
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)
void(* uv_udp_recv_cb)(uv_udp_t *handle, ssize_t nread, const uv_buf_t *buf, const struct sockaddr *addr, unsigned flags)
Definition: uv.h:678
UV_EXTERN void uv_rwlock_rdlock(uv_rwlock_t *rwlock)
UV_EXTERN int uv_fs_event_init(uv_loop_t *loop, uv_fs_event_t *handle)
UV_EXTERN int uv_fs_scandir(uv_loop_t *loop, uv_fs_t *req, const char *path, int flags, uv_fs_cb cb)
void(* uv_timer_cb)(uv_timer_t *handle)
Definition: uv.h:330
UV_EXTERN int uv_is_closing(const uv_handle_t *handle)
UV_EXTERN int uv_check_stop(uv_check_t *check)
UV_EXTERN int uv_udp_init(uv_loop_t *, uv_udp_t *handle)
void(* uv_read_cb)(uv_stream_t *stream, ssize_t nread, const uv_buf_t *buf)
Definition: uv.h:321
void(* uv_udp_send_cb)(uv_udp_send_t *req, int status)
Definition: uv.h:677
UV_EXTERN int uv_fs_fchmod(uv_loop_t *loop, uv_fs_t *req, uv_file file, int mode, uv_fs_cb cb)
void(* uv_alloc_cb)(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf)
Definition: uv.h:318
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_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_thread_create_ex(uv_thread_t *tid, const uv_thread_options_t *params, uv_thread_cb entry, void *arg)
UV_EXTERN void uv_close(uv_handle_t *handle, uv_close_cb close_cb)
UV_EXTERN uv_handle_type uv_guess_handle(uv_file file)
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_thread_create(uv_thread_t *tid, uv_thread_cb entry, void *arg)
UV_EXTERN const char * uv_err_name(int err)
UV_EXTERN uint64_t uv_get_total_memory(void)
UV_EXTERN int uv_udp_connect(uv_udp_t *handle, const struct sockaddr *addr)
void *(* uv_realloc_func)(void *ptr, size_t size)
Definition: uv.h:274
UV_EXTERN ssize_t uv_fs_get_result(const uv_fs_t *)
UV_EXTERN int uv_key_create(uv_key_t *key)
UV_EXTERN int uv_thread_setaffinity(uv_thread_t *tid, char *cpumask, char *oldmask, size_t mask_size)
UV_EXTERN int uv_udp_using_recvmmsg(const uv_udp_t *handle)
UV_EXTERN int uv_open_osfhandle(uv_os_fd_t os_fd)
#define UV_EXTERN
Definition: uv.h:49
UV_EXTERN int uv_pipe(uv_file fds[2], int read_flags, int write_flags)
UV_EXTERN int uv_accept(uv_stream_t *server, uv_stream_t *client)
UV_EXTERN int uv_fs_scandir_next(uv_fs_t *req, uv_dirent_t *ent)
#define UV_REQ_TYPE_MAP(XX)
Definition: uv.h:176
void(* uv_signal_cb)(uv_signal_t *handle, int signum)
Definition: uv.h:409
UV_EXTERN void * uv_loop_get_data(const uv_loop_t *)
UV_EXTERN int uv_send_buffer_size(uv_handle_t *handle, int *value)
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_pipe_getpeername(const uv_pipe_t *handle, char *buffer, size_t *size)
uv_dirent_type_t
Definition: uv.h:1203
@ UV_DIRENT_FIFO
Definition: uv.h:1208
@ UV_DIRENT_CHAR
Definition: uv.h:1210
@ UV_DIRENT_DIR
Definition: uv.h:1206
@ UV_DIRENT_UNKNOWN
Definition: uv.h:1204
@ UV_DIRENT_BLOCK
Definition: uv.h:1211
@ UV_DIRENT_LINK
Definition: uv.h:1207
@ UV_DIRENT_FILE
Definition: uv.h:1205
@ UV_DIRENT_SOCKET
Definition: uv.h:1209
UV_EXTERN int uv_tty_get_winsize(uv_tty_t *, int *width, int *height)
UV_EXTERN int uv_udp_set_multicast_loop(uv_udp_t *handle, int on)
UV_EXTERN int uv_has_ref(const uv_handle_t *)
UV_EXTERN uint64_t uv_timer_get_repeat(const uv_timer_t *handle)
UV_EXTERN int uv_cond_timedwait(uv_cond_t *cond, uv_mutex_t *mutex, uint64_t timeout)
UV_EXTERN size_t uv_loop_size(void)
void(* uv_connect_cb)(uv_connect_t *req, int status)
Definition: uv.h:325
UV_EXTERN int uv_uptime(double *uptime)
uv_errno_t
Definition: uv.h:188
@ UV_ERRNO_MAX
Definition: uv.h:192
void(* uv_idle_cb)(uv_idle_t *handle)
Definition: uv.h:334
void(* uv_exit_cb)(uv_process_t *, int64_t exit_status, int term_signal)
Definition: uv.h:335
UV_EXTERN int uv_os_tmpdir(char *buffer, size_t *size)
UV_EXTERN int uv_fs_close(uv_loop_t *loop, uv_fs_t *req, uv_file file, uv_fs_cb cb)
UV_EXTERN void uv_rwlock_destroy(uv_rwlock_t *rwlock)
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_tcp_init(uv_loop_t *, uv_tcp_t *handle)
UV_EXTERN int uv_tcp_simultaneous_accepts(uv_tcp_t *handle, int enable)
UV_EXTERN int uv_poll_init_socket(uv_loop_t *loop, uv_poll_t *handle, uv_os_sock_t socket)
UV_EXTERN int uv_tty_init(uv_loop_t *, uv_tty_t *, uv_file fd, int readable)
UV_EXTERN int uv_rwlock_trywrlock(uv_rwlock_t *rwlock)
UV_EXTERN void uv_library_shutdown(void)
UV_EXTERN int uv_os_setenv(const char *name, const char *value)
UV_EXTERN uv_loop_t * uv_default_loop(void)
UV_EXTERN int uv_is_readable(const uv_stream_t *handle)
UV_EXTERN int uv_loop_alive(const uv_loop_t *loop)
UV_EXTERN void uv_loadavg(double avg[3])
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 uint64_t uv_metrics_idle_time(uv_loop_t *loop)
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)
void(* uv_async_cb)(uv_async_t *handle)
Definition: uv.h:331
UV_EXTERN int uv_async_init(uv_loop_t *, uv_async_t *async, uv_async_cb async_cb)
UV_EXTERN uv_stat_t * uv_fs_get_statbuf(uv_fs_t *)
UV_EXTERN int uv_udp_getsockname(const uv_udp_t *handle, struct sockaddr *name, int *namelen)
UV_EXTERN int uv_pipe_bind2(uv_pipe_t *handle, const char *name, size_t namelen, unsigned int flags)
UV_EXTERN int uv_mutex_trylock(uv_mutex_t *handle)
UV_EXTERN void uv_os_free_environ(uv_env_item_t *envitems, int count)
UV_EXTERN int uv_cancel(uv_req_t *req)
void(* uv_walk_cb)(uv_handle_t *handle, void *arg)
Definition: uv.h:336
UV_EXTERN void uv_cond_wait(uv_cond_t *cond, uv_mutex_t *mutex)
UV_EXTERN void uv_cond_signal(uv_cond_t *cond)
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_cpumask_size(void)
struct uv_stdio_container_s uv_stdio_container_t
UV_EXTERN int uv_os_unsetenv(const char *name)
UV_EXTERN int uv_async_send(uv_async_t *async)
UV_EXTERN int uv_fs_readdir(uv_loop_t *loop, uv_fs_t *req, uv_dir_t *dir, uv_fs_cb cb)
uv_req_type
Definition: uv.h:204
@ UV_REQ_TYPE_MAX
Definition: uv.h:210
@ UV_UNKNOWN_REQ
Definition: uv.h:205
UV_EXTERN int uv_loop_configure(uv_loop_t *loop, uv_loop_option option,...)
void(* uv_fs_cb)(uv_fs_t *req)
Definition: uv.h:337
#define UV_HANDLE_TYPE_MAP(XX)
Definition: uv.h:158
UV_EXTERN uv_pid_t uv_os_getppid(void)
void uv_wtf8_to_utf16(const char *wtf8, uint16_t *utf16, size_t utf16_len)
UV_EXTERN void uv_loop_delete(uv_loop_t *)
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_timer_again(uv_timer_t *handle)
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_udp_getpeername(const uv_udp_t *handle, struct sockaddr *name, int *namelen)
UV_EXTERN int uv_loop_close(uv_loop_t *loop)
UV_EXTERN void uv_sem_wait(uv_sem_t *sem)
UV_EXTERN void uv_cond_broadcast(uv_cond_t *cond)
UV_EXTERN int uv_fs_poll_stop(uv_fs_poll_t *handle)
UV_EXTERN int uv_fs_opendir(uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
uv_poll_event
Definition: uv.h:854
@ UV_WRITABLE
Definition: uv.h:856
@ UV_DISCONNECT
Definition: uv.h:857
@ UV_PRIORITIZED
Definition: uv.h:858
@ UV_READABLE
Definition: uv.h:855
UV_EXTERN int uv_signal_init(uv_loop_t *loop, uv_signal_t *handle)
UV_EXTERN int uv_inet_pton(int af, const char *src, void *dst)
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_lutime(uv_loop_t *loop, uv_fs_t *req, const char *path, double atime, double mtime, uv_fs_cb cb)
UV_EXTERN uint64_t uv_timer_get_due_in(const uv_timer_t *handle)
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_tcp_getsockname(const uv_tcp_t *handle, struct sockaddr *name, int *namelen)
UV_EXTERN int uv_fs_closedir(uv_loop_t *loop, uv_fs_t *req, uv_dir_t *dir, uv_fs_cb cb)
UV_EXTERN void uv_dlclose(uv_lib_t *lib)
UV_EXTERN void uv_disable_stdio_inheritance(void)
UV_EXTERN uv_handle_type uv_handle_get_type(const uv_handle_t *handle)
UV_EXTERN void uv_timer_set_repeat(uv_timer_t *handle, uint64_t repeat)
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 uint64_t uv_get_available_memory(void)
UV_EXTERN int uv_tty_get_vterm_state(uv_tty_vtermstate_t *state)
UV_EXTERN unsigned int uv_version(void)
UV_EXTERN int uv_poll_stop(uv_poll_t *handle)
UV_EXTERN int uv_clock_gettime(uv_clock_id clock_id, uv_timespec64_t *ts)
UV_EXTERN int uv_pipe_open(uv_pipe_t *, uv_file file)
UV_EXTERN int uv_os_get_group(uv_group_t *grp, uv_uid_t gid)
UV_EXTERN int uv_pipe_chmod(uv_pipe_t *handle, int flags)
UV_EXTERN int uv_ip6_name(const struct sockaddr_in6 *src, char *dst, size_t size)
UV_EXTERN int uv_udp_set_broadcast(uv_udp_t *handle, int on)
UV_EXTERN int uv_prepare_stop(uv_prepare_t *prepare)
UV_EXTERN int uv_sem_init(uv_sem_t *sem, unsigned int value)
UV_EXTERN int uv_fileno(const uv_handle_t *handle, uv_os_fd_t *fd)
UV_EXTERN void uv_update_time(uv_loop_t *)
UV_EXTERN void uv_rwlock_rdunlock(uv_rwlock_t *rwlock)
UV_EXTERN const char * uv_fs_get_path(const uv_fs_t *)
void(* uv_close_cb)(uv_handle_t *handle)
Definition: uv.h:328
UV_EXTERN uv_thread_t uv_thread_self(void)
UV_EXTERN int uv_idle_start(uv_idle_t *idle, uv_idle_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_mutex_init(uv_mutex_t *handle)
UV_EXTERN int uv_tcp_getpeername(const uv_tcp_t *handle, struct sockaddr *name, int *namelen)
UV_EXTERN void * uv_handle_get_data(const uv_handle_t *handle)
UV_EXTERN void uv_cond_destroy(uv_cond_t *cond)
UV_EXTERN int uv_cond_init(uv_cond_t *cond)
#define UV_STREAM_FIELDS
Definition: uv.h:515
UV_EXTERN int uv_chdir(const char *dir)
UV_EXTERN uv_pid_t uv_os_getpid(void)
void(* uv_work_cb)(uv_work_t *req)
Definition: uv.h:338
UV_EXTERN int uv_idle_init(uv_loop_t *, uv_idle_t *idle)
UV_EXTERN const char * uv_dlerror(const uv_lib_t *lib)
@ UV_PIPE_NO_TRUNCATE
Definition: uv.h:803
UV_EXTERN int uv_fs_event_getpath(uv_fs_event_t *handle, char *buffer, size_t *size)
uv_loop_option
Definition: uv.h:258
@ UV_LOOP_BLOCK_SIGNAL
Definition: uv.h:259
@ UV_METRICS_IDLE_TIME
Definition: uv.h:260
void(* uv_shutdown_cb)(uv_shutdown_t *req, int status)
Definition: uv.h:326
UV_EXTERN int uv_get_process_title(char *buffer, size_t size)
intptr_t ssize_t
Definition: win.h:27
#define UV__EOF
Definition: errno.h:32