|
| IOHANDLE | io_open (const char *filename, int flags) |
| unsigned | io_read (IOHANDLE io, void *buffer, unsigned size) |
| bool | io_read_all (IOHANDLE io, void **result, unsigned *result_len) |
| char * | io_read_all_str (IOHANDLE io) |
| int | io_skip (IOHANDLE io, int64_t size) |
| int | io_seek (IOHANDLE io, int64_t offset, ESeekOrigin origin) |
| int64_t | io_tell (IOHANDLE io) |
| int64_t | io_length (IOHANDLE io) |
| unsigned | io_write (IOHANDLE io, const void *buffer, unsigned size) |
| bool | io_write_newline (IOHANDLE io) |
| int | io_close (IOHANDLE io) |
| int | io_flush (IOHANDLE io) |
| int | io_sync (IOHANDLE io) |
| int | io_error (IOHANDLE io) |
| IOHANDLE | io_stdin () |
| IOHANDLE | io_stdout () |
| IOHANDLE | io_stderr () |
| IOHANDLE | io_current_exe () |
| ASYNCIO * | aio_new (IOHANDLE io) |
| void | aio_lock (ASYNCIO *aio) |
| void | aio_unlock (ASYNCIO *aio) |
| void | aio_write (ASYNCIO *aio, const void *buffer, unsigned size) |
| void | aio_write_newline (ASYNCIO *aio) |
| void | aio_write_unlocked (ASYNCIO *aio, const void *buffer, unsigned size) |
| void | aio_write_newline_unlocked (ASYNCIO *aio) |
| int | aio_error (ASYNCIO *aio) |
| void | aio_close (ASYNCIO *aio) |
| void | aio_wait (ASYNCIO *aio) |
| void | aio_free (ASYNCIO *aio) |
| void | sphore_init (SEMAPHORE *sem) |
| void | sphore_wait (SEMAPHORE *sem) |
| void | sphore_signal (SEMAPHORE *sem) |
| void | sphore_destroy (SEMAPHORE *sem) |
| void | net_init () |
| int | net_host_lookup (const char *hostname, NETADDR *addr, int types) |
| int | net_addr_comp (const NETADDR *a, const NETADDR *b) |
| int | net_addr_comp_noport (const NETADDR *a, const NETADDR *b) |
| void | net_addr_str (const NETADDR *addr, char *string, int max_length, bool add_port) |
| int | net_addr_from_url (NETADDR *addr, const char *string, char *host_buf, size_t host_buf_size) |
| bool | net_addr_is_local (const NETADDR *addr) |
| int | net_addr_from_str (NETADDR *addr, const char *string) |
| int | net_set_non_blocking (NETSOCKET sock) |
| int | net_set_blocking (NETSOCKET sock) |
| int | net_errno () |
| std::string | net_error_message () |
| int | net_would_block () |
| int | net_socket_read_wait (NETSOCKET sock, std::chrono::nanoseconds nanoseconds) |
| int | net_socket_type (NETSOCKET sock) |
| NETSOCKET | net_udp_create (NETADDR bindaddr) |
| int | net_udp_send (NETSOCKET sock, const NETADDR *addr, const void *data, int size) |
| int | net_udp_recv (NETSOCKET sock, NETADDR *addr, unsigned char **data) |
| void | net_udp_close (NETSOCKET sock) |
| NETSOCKET | net_tcp_create (NETADDR bindaddr) |
| int | net_tcp_listen (NETSOCKET sock, int backlog) |
| int | net_tcp_accept (NETSOCKET sock, NETSOCKET *new_sock, NETADDR *addr) |
| int | net_tcp_connect (NETSOCKET sock, const NETADDR *addr) |
| int | net_tcp_connect_non_blocking (NETSOCKET sock, NETADDR bindaddr) |
| int | net_tcp_send (NETSOCKET sock, const void *data, int size) |
| int | net_tcp_recv (NETSOCKET sock, void *data, int maxsize) |
| void | net_tcp_close (NETSOCKET sock) |
| UNIXSOCKET | net_unix_create_unnamed () |
| int | net_unix_send (UNIXSOCKET sock, UNIXSOCKETADDR *addr, void *data, int size) |
| void | net_unix_set_addr (UNIXSOCKETADDR *addr, const char *path) |
| void | net_unix_close (UNIXSOCKET sock) |
| int | str_format_v (char *buffer, int buffer_size, const char *format, va_list args) |
| int | str_format (char *buffer, int buffer_size, const char *format,...) |
| int | str_format_int (char *buffer, size_t buffer_size, int value) |
| template<typename... Args> |
| int | str_format_opt (char *buffer, int buffer_size, const char *format, Args... args) |
| template<> |
| int | str_format_opt (char *buffer, int buffer_size, const char *format, int val) |
| int | str_utf8_dist (const char *a, const char *b) |
| int | str_utf8_dist_buffer (const char *a, const char *b, int *buf, int buf_len) |
| int | str_utf32_dist_buffer (const int *a, int a_len, const int *b, int b_len, int *buf, int buf_len) |
| void | swap_endian (void *data, unsigned elem_size, unsigned num) |
| void | net_stats (NETSTATS *stats) |
| int | str_utf8_to_skeleton (const char *str, int *buf, int buf_len) |
| int | str_utf8_comp_confusable (const char *str1, const char *str2) |
| int | str_utf8_tolower_codepoint (int code) |
| unsigned | bytes_be_to_uint (const unsigned char *bytes) |
| void | uint_to_bytes_be (unsigned char *bytes, unsigned value) |
| int | pid () |
| void | cmdline_fix (int *argc, const char ***argv) |
| void | cmdline_free (int argc, const char **argv) |
| PROCESS | shell_execute (const char *file, EShellExecuteWindowState window_state, const char **arguments=nullptr, size_t num_arguments=0) |
| int | kill_process (PROCESS process) |
| bool | is_process_alive (PROCESS process) |
| int | open_link (const char *link) |
| int | open_file (const char *path) |
| bool | os_version_str (char *version, size_t length) |
| void | os_locale_str (char *locale, size_t length) |
| void | crashdump_init_if_available (const char *log_file_path) |