master
1#ifndef __wasilibc___header_unistd_h
2#define __wasilibc___header_unistd_h
3
4struct stat;
5
6#include <__seek.h>
7
8#define F_OK (0)
9#define X_OK (1)
10#define W_OK (2)
11#define R_OK (4)
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17int close(int fd);
18int faccessat(int, const char *, int, int);
19int fstatat(int, const char *__restrict, struct stat *__restrict, int);
20int renameat(int, const char *, int, const char *);
21int openat(int, const char *, int, ...);
22void *sbrk(intptr_t increment);
23
24#ifdef __cplusplus
25}
26#endif
27
28#endif