# Swoole 関数

## 目次

- swoole_async_dns_lookup — Async and non-blocking hostname to IP lookup
- swoole_async_read — Read file stream asynchronously
- swoole_async_readfile — Read a file asynchronously
- swoole_async_set — Update the async I/O options
- swoole_async_write — Write data to a file stream asynchronously
- swoole_async_writefile — Write data to a file asynchronously
- swoole_client_select — Get the file description which are ready to read/write or error
- swoole_cpu_num — Get the number of CPU
- swoole_errno — Get the error code of the latest system call
- swoole_event_add — Add new callback functions of a socket into the EventLoop
- swoole_event_defer — Add callback function to the next event loop
- swoole_event_del — Remove all event callback functions of a socket
- swoole_event_exit — Exit the eventloop, only available at the client side
- swoole_event_set — Update the event callback functions of a socket
- swoole_event_wait — Start the event loop
- swoole_event_write — Write data to a socket
- swoole_get_local_ip — Get the IPv4 IP addresses of each NIC on the machine
- swoole_last_error — Get the lastest error message
- swoole_load_module — Load a swoole extension
- swoole_select — Select the file descriptions which are ready to read/write or error in the eventloop
- swoole_set_process_name — Set the process name
- swoole_strerror — Convert the Errno into error messages
- swoole_timer_after — Trigger a one time callback function in the future
- swoole_timer_exists — Check if a timer callback function is existed
- swoole_timer_tick — Trigger a timer tick callback function by time interval
- swoole_version — Get the version of Swoole