flags can be raw numerical constants ORed together or use string aliases.
r
is UV_FS_O_RDONLY
w
is UV_FS_O_TRUNC | UV_FS_O_CREAT | UV_FS_O_WRONLY
a
is UV_FS_O_APPEND | UV_FS_O_CREAT | UV_FS_O_WRONLY
+
uses UV_FS_O_RDWR
instead of UV_FS_O_RDONLY
or UV_FS_O_WRONLY
.s
adds UV_FS_O_SYNC
x
adds UV_FS_O_EXCL
Gets free memory information (in bytes).
Gets total memory information (in bytes).
Asynchronous getaddrinfo(3). See http://docs.libuv.org/en/v1.x/dns.html
domain name or ip address
service name or port number
Returns the current high-resolution real time. This is expressed in nanoseconds. It is relative to an arbitrary time in the past. It is not related to the time of day and therefore not subject to clock drift. The primary use is for measuring performance between intervals.
Gets the load average
Retrieves the environment variable specified by name.
This is the same as printAllHandles() except only active handles are printed.
Prints all handles to stderr
Gets the resident set size (RSS) for the current process.
Gets the current system uptime.
Generated using TypeDoc
LibUV bindings exposed to JavaScript in a mostly 1-1 manner.
See http://docs.libuv.org/en/v1.x/