Lines Matching refs:pathname
641 /* Write the given data to the existing file specified by pathname. Complain
643 static void write_file(const char *pathname, const void *data, size_t len)
645 int fd = open(pathname, O_WRONLY);
648 pathname, errno, strerror(errno));
656 pathname, errno, strerror(errno));
661 * pathname. Complain if unable to do so. */
662 static void write_string_to_file(const char *pathname, const char *string)
664 write_file(pathname, string, strlen(string));
667 static void read_and_print(const char *pathname, int output_fd)
670 int fd = open(pathname, O_RDONLY);
673 pathname, errno, strerror(errno));
683 pathname, errno, strerror(errno));
694 pathname, errno, strerror(errno));