Lines Matching refs:path
137 FILE* FAST_FUNC xfopen(const char *path, const char *mode) in xfopen() argument
139 FILE *fp = fopen(path, mode); in xfopen()
141 bb_perror_msg_and_die("can't open '%s'", path); in xfopen()
422 void FAST_FUNC xchdir(const char *path) in xchdir() argument
424 if (chdir(path)) in xchdir()
425 bb_perror_msg_and_die("can't change directory to '%s'", path); in xchdir()
434 void FAST_FUNC xchroot(const char *path) in xchroot() argument
436 if (chroot(path)) in xchroot()
437 bb_perror_msg_and_die("can't change root directory to '%s'", path); in xchroot()
442 DIR* FAST_FUNC warn_opendir(const char *path) in warn_opendir() argument
446 dp = opendir(path); in warn_opendir()
448 bb_perror_msg("can't open '%s'", path); in warn_opendir()
453 DIR* FAST_FUNC xopendir(const char *path) in xopendir() argument
457 dp = opendir(path); in xopendir()
459 bb_perror_msg_and_die("can't open '%s'", path); in xopendir()