mirror of
https://git.proxmox.com/git/wasi-libc
synced 2025-06-14 04:59:37 +00:00

AT_FDCWD is a special constant in POSIX that can be passed to *at functions to indicate the current working directory. Since the current working directory is emulated in wasi libc, add emulated AT_FDCWD support as well. Fixes #42.
4 lines
138 B
C
4 lines
138 B
C
#include <_/cdefs.h>
|
|
int snprintf(char *str, size_t size, const char *format, ...);
|
|
int rename(const char *oldpath, const char *newpath);
|