mirror of
https://git.proxmox.com/git/wasi-libc
synced 2025-06-14 08:11:01 +00:00

* Add an entrypoint for calling open that bypasses the varargs. * Add an entrypoint for calling openat that bypasses the varargs.
23 lines
519 B
C
23 lines
519 B
C
#ifndef __wasi_libc_h
|
|
#define __wasi_libc_h
|
|
|
|
#include <__typedef_off_t.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
int __wasilibc_register_preopened_fd(int fd, const char *path);
|
|
int __wasilibc_fd_renumber(int fd, int newfd);
|
|
int __wasilibc_unlinkat(int fd, const char *path);
|
|
int __wasilibc_rmdirat(int fd, const char *path);
|
|
int __wasilibc_open_nomode(const char *path, int oflag);
|
|
int __wasilibc_openat_nomode(int fd, const char *path, int oflag);
|
|
off_t __wasilibc_tell(int fd);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|