3#include "ruby/missing.h"
6#define WASM_MISSING_LIBC_FUNC __attribute__((weak))
10chmod(
const char *pathname, rb_mode_t mode)
18chown(
const char *pathname, rb_uid_t owner, rb_gid_t group)
34dup2(
int oldfd,
int newfd)
42execl(
const char *path,
const char *arg, ...)
50execle(
const char *path,
const char *arg, ...)
58execv(
const char *path,
char *
const argv[])
66execve(
const char *filename,
char *
const argv[],
char *
const envp[])
100WASM_MISSING_LIBC_FUNC
107WASM_MISSING_LIBC_FUNC
115WASM_MISSING_LIBC_FUNC
122WASM_MISSING_LIBC_FUNC
124mprotect(
const void *addr,
size_t len,
int prot)
129WASM_MISSING_LIBC_FUNC
137WASM_MISSING_LIBC_FUNC
139popen(
const char *command,
const char *type)
145WASM_MISSING_LIBC_FUNC
153WASM_MISSING_LIBC_FUNC
155posix_madvise(
void *addr,
size_t len,
int advice)
161WASM_MISSING_LIBC_FUNC
163kill(rb_pid_t pid,
int sig)
170WASM_MISSING_LIBC_FUNC
177WASM_MISSING_LIBC_FUNC
179shutdown(
int s,
int how)
185WASM_MISSING_LIBC_FUNC
187system(
const char *command)
193WASM_MISSING_LIBC_FUNC
195waitpid(pid_t pid,
int *wstatus,
int options)
int len
Length of the buffer.
#define errno
Ractor-aware version of errno.