Searched refs:pathname (Results 1 – 1 of 1) sorted by relevance
| /arch/sandbox/cpu/ |
| A D | os.c | 101 int os_open(const char *pathname, int os_flags) in os_open() argument 130 return open(pathname, flags, 0644); in os_open() 141 int os_unlink(const char *pathname) in os_unlink() argument 143 return unlink(pathname); in os_unlink() 236 int os_map_file(const char *pathname, int os_flags, void **bufp, int *sizep) in os_map_file() argument 242 ifd = os_open(pathname, os_flags); in os_map_file() 244 printf("Cannot open file '%s'\n", pathname); in os_map_file() 249 printf("Cannot get file size of '%s'\n", pathname); in os_map_file() 254 printf("File '%s' too large to map\n", pathname); in os_map_file() 261 printf("Can't map file '%s': %s\n", pathname, strerror(errno)); in os_map_file()
|
Completed in 21 milliseconds