tcp: Fix 64 bit build with debugging features enabled.
[haiku.git] / src / build / libroot / remapped_functions.h
blobb3017c74d4522fbd28f44a783e6f297002233691
1 /*
2 * Copyright 2005-2011, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef REMAPPED_FUNCTIONS_H
6 #define REMAPPED_FUNCTIONS_H
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
13 int _haiku_build_fchmod(int fd, mode_t mode);
14 int _haiku_build_fchmodat(int fd, const char* path, mode_t mode, int flag);
15 int _haiku_build_fstat(int fd, struct stat* st);
16 int _haiku_build_fstatat(int fd, const char* path, struct stat* st,
17 int flag);
18 int _haiku_build_mkdirat(int fd, const char* path, mode_t mode);
19 int _haiku_build_mkfifoat(int fd, const char* path, mode_t mode);
20 int _haiku_build_utimensat(int fd, const char* path,
21 const struct timespec times[2], int flag);
22 int _haiku_build_futimens(int fd, const struct timespec times[2]);
23 int _haiku_build_faccessat(int fd, const char* path, int accessMode,
24 int flag);
25 int _haiku_build_fchdir(int fd);
26 int _haiku_build_close(int fd);
27 int _haiku_build_dup(int fd);
28 int _haiku_build_dup2(int fd1, int fd2);
29 int _haiku_build_linkat(int toFD, const char* toPath, int pathFD,
30 const char* path, int flag);
31 int _haiku_build_unlinkat(int fd, const char* path, int flag);
32 ssize_t _haiku_build_readlinkat(int fd, const char* path, char* buffer,
33 size_t bufferSize);
34 int _haiku_build_symlinkat(const char* toPath, int fd,
35 const char* symlinkPath);
36 int _haiku_build_ftruncate(int fd, off_t newSize);
37 int _haiku_build_fchown(int fd, uid_t owner, gid_t group);
38 int _haiku_build_fchownat(int fd, const char* path, uid_t owner,
39 gid_t group, int flag);
40 int _haiku_build_mknodat(int fd, const char* name, mode_t mode, dev_t dev);
41 int _haiku_build_creat(const char* path, mode_t mode);
42 int _haiku_build_open(const char* path, int openMode, mode_t permissions);
43 int _haiku_build_openat(int fd, const char* path, int openMode,
44 mode_t permissions);
45 int _haiku_build_fcntl(int fd, int op, int argument);
46 int _haiku_build_renameat(int fromFD, const char* from, int toFD,
47 const char* to);
49 #ifdef __cplusplus
50 } // extern "C"
51 #endif
54 #endif // REMAPPED_FUNCTIONS_H