wasi-libc/libc-bottom-half/headers/private/stdio.h
Dan Gohman f2e779e5f1 AT_FDCWD support.
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.
2021-02-05 06:41:53 -08:00

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);