Lines Matching full:pathname
187 int WRAP(open)(const char* pathname, int oflag, mode_t cmode, int* newfd) {
188 *newfd = ki_open(pathname, oflag);
192 int WRAP(stat)(const char* pathname, struct stat* buf) {
193 ERRNO_RTN(ki_stat(pathname, buf));
196 int WRAP(mkdir)(const char* pathname, mode_t mode) {
197 ERRNO_RTN(ki_mkdir(pathname, mode));
200 int WRAP(rmdir)(const char* pathname) {
201 ERRNO_RTN(ki_rmdir(pathname));
204 int WRAP(chdir)(const char* pathname) {
205 ERRNO_RTN(ki_chdir(pathname));
208 int WRAP(getcwd)(char* pathname, size_t len) {
209 char* rtn = ki_getcwd(pathname, len);
214 int WRAP(unlink)(const char* pathname) {
215 ERRNO_RTN(ki_unlink(pathname));
218 int WRAP(truncate)(const char* pathname, off_t length) {
219 ERRNO_RTN(ki_truncate(pathname, length));
222 int WRAP(lstat)(const char* pathname, struct stat* buf) {
223 ERRNO_RTN(ki_lstat(pathname, buf));
226 int WRAP(link)(const char* pathname, const char* newpath) {
227 ERRNO_RTN(ki_link(pathname, newpath));
230 int WRAP(rename)(const char* pathname, const char* newpath) {
231 ERRNO_RTN(ki_rename(pathname, newpath));
234 int WRAP(symlink)(const char* pathname, const char* newpath) {
235 ERRNO_RTN(ki_symlink(pathname, newpath));
238 int WRAP(chmod)(const char* pathname, mode_t mode) {
239 ERRNO_RTN(ki_chmod(pathname, mode));
242 int WRAP(access)(const char* pathname, int amode) {
243 ERRNO_RTN(ki_access(pathname, amode));
246 int WRAP(readlink)(const char* pathname,
250 int rtn = ki_readlink(pathname, buf, count);
256 int WRAP(utimes)(const char* pathname, const struct timeval times[2]) {
257 ERRNO_RTN(ki_utimes(pathname, times));
305 int _real_mkdir(const char* pathname, mode_t mode) {
324 int _real_open(const char* pathname, int oflag, mode_t cmode, int* newfd) {
326 return REAL(open)(pathname, oflag, cmode, newfd);
338 int _real_rmdir(const char* pathname) {