![]() | Fun 0.41.5 The programming language that makes You have fun |

Files | |
| clock_mono_ms.c | |
| Implements OP_CLOCK_MONO_MS to push monotonic clock in ms. | |
| date_format.c | |
| Implements OP_DATE_FORMAT to format an epoch milliseconds timestamp using strftime. | |
| env.c | |
| Implements OP_ENV to read an environment variable by name. | |
| env_all.c | |
| Implements OP_ENV_ALL to read the full environment into a map. | |
| fd_poll_read.c | |
| Implements OP_FD_POLL_READ to check if a file descriptor is readable. | |
| fd_poll_write.c | |
| Implements OP_FD_POLL_WRITE to check if a file descriptor is writable. | |
| fd_set_nonblock.c | |
| Implements OP_FD_SET_NONBLOCK to toggle O_NONBLOCK on a file descriptor. | |
| fun_version.c | |
| VM opcode snippet: push the current Fun version string (OP_FUN_VERSION). | |
| list_dir.c | |
| Implements OP_OS_LIST_DIR to list entries in a directory. | |
| proc_run.c | |
| Implements OP_PROC_RUN to execute a shell command and capture stdout. | |
| proc_system.c | |
| Implements OP_PROC_SYSTEM to execute a shell command and return exit code. | |
| random_number.c | |
| Implements OP_RANDOM_NUMBER to generate cryptographically secure random bytes. | |
| serial_close.c | |
| Implements OP_SERIAL_CLOSE to close an open serial port. | |
| serial_config.c | |
| Implements OP_SERIAL_CONFIG to change serial port parameters. | |
| serial_open.c | |
| Implements OP_SERIAL_OPEN to open and configure a serial port. | |
| serial_recv.c | |
| Implements OP_SERIAL_RECV to read bytes from a serial port. | |
| serial_send.c | |
| Implements OP_SERIAL_SEND to write bytes to a serial port. | |
| sleep_ms.c | |
| Implements OP_SLEEP_MS to suspend execution for a number of milliseconds. | |
| socket_close.c | |
| Implements OP_SOCK_CLOSE to close a socket file descriptor. | |
| socket_recv.c | |
| Implements OP_SOCK_RECV to receive data from a socket into a string. | |
| socket_send.c | |
| Implements OP_SOCK_SEND to transmit data over a connected socket. | |
| socket_tcp_accept.c | |
| Implements OP_SOCK_TCP_ACCEPT to accept an incoming TCP connection. | |
| socket_tcp_connect.c | |
| Implements OP_SOCK_TCP_CONNECT to open a TCP connection. | |
| socket_tcp_listen.c | |
| Implements OP_SOCK_TCP_LISTEN to create a TCP listening socket. | |
| socket_unix_connect.c | |
| Implements OP_SOCK_UNIX_CONNECT to connect to a UNIX domain socket path. | |
| socket_unix_listen.c | |
| Implements OP_SOCK_UNIX_LISTEN to create a UNIX domain listening socket. | |
| thread_common.c | |
| Cross-platform thread helpers and registry used by OP_THREAD_SPAWN/OP_THREAD_JOIN. | |
| thread_join.c | |
| Implements OP_THREAD_JOIN to wait for a spawned thread and get its result. | |
| thread_spawn.c | |
| Implements OP_THREAD_SPAWN to run a function in a background thread. | |
| time_now_ms.c | |
| Implements OP_TIME_NOW_MS to push current wall-clock time in ms since Unix epoch. | |