Lines Matching full:pathname
123 get_file_size(const char* pathname)
128 fd = open(pathname, O_RDONLY);
130 D("Can't open %s: %s\n", pathname, strerror(errno));
139 D("Error while reading %s: %s\n", pathname, strerror(errno));
157 read_file(const char* pathname, char* buffer, size_t buffsize)
161 fd = open(pathname, O_RDONLY);
163 D("Could not open %s: %s\n", pathname, strerror(errno));
172 D("Error while reading from %s: %s\n", pathname, strerror(errno));