xref: /haiku/headers/build/host/darwin/unistd.h (revision 25a7b01d15612846f332751841da3579db313082)
1 #ifndef _HAIKU_BUILD_COMPATIBILITY_DARWIN_UNISTD
2 #define _HAIKU_BUILD_COMPATIBILITY_DARWIN_UNISTD
3 
4 
5 #include_next <unistd.h>
6 
7 
8 __BEGIN_DECLS
9 
10 int faccessat(int fd, const char* path, int accessMode, int flag);
11 int fchownat(int fd, const char* path, uid_t owner, gid_t group, int flag);
12 ssize_t readlinkat(int fd, const char *path, char *buffer, size_t bufferSize);
13 int linkat(int oldFD, const char *oldPath, int newFD, const char *newPath,
14 	int flag);
15 
16 __END_DECLS
17 
18 #endif	// _HAIKU_BUILD_COMPATIBILITY_DARWIN_UNISTD
19