19a18af35e
* fs_darwin.c => fs_darwin.cpp * fs_freebsd.c => fs_freebsd.cpp * use bool instead of int again in fs_darwin.cpp (C => C++) * declare loop varibles inline again in fs_freebsd.cpp (C => C++) * 2 newlines between top header gaurd and first #include * 2 newlines after last #include * freebsd/endian.h and freebsd/regex.h convert \r\n to just \n * remove some leading tabs in fs_freebsd.cpp * add newlines after single line if statement in fs_freebsd.cpp * 80-char limit fixes in fs_freebsd.cpp
19 lines
516 B
C
19 lines
516 B
C
#ifndef _HAIKU_BUILD_COMPATIBILITY_DARWIN_UNISTD
|
|
#define _HAIKU_BUILD_COMPATIBILITY_DARWIN_UNISTD
|
|
|
|
|
|
#include_next <unistd.h>
|
|
|
|
|
|
__BEGIN_DECLS
|
|
|
|
int faccessat(int fd, const char* path, int accessMode, int flag);
|
|
int fchownat(int fd, const char* path, uid_t owner, gid_t group, int flag);
|
|
ssize_t readlinkat(int fd, const char *path, char *buffer, size_t bufferSize);
|
|
int linkat(int oldFD, const char *oldPath, int newFD, const char *newPath,
|
|
int flag);
|
|
|
|
__END_DECLS
|
|
|
|
#endif // _HAIKU_BUILD_COMPATIBILITY_DARWIN_UNISTD
|