2 * Copyright 2005-2011, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
5 #ifndef REMAPPED_FUNCTIONS_H
6 #define REMAPPED_FUNCTIONS_H
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
,
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
,
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
,
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
,
45 int _haiku_build_fcntl(int fd
, int op
, int argument
);
46 int _haiku_build_renameat(int fromFD
, const char* from
, int toFD
,
54 #endif // REMAPPED_FUNCTIONS_H