Lines Matching refs:st
110 struct stat st; in read_text_file() local
121 if (fstat(fd, &st) < 0) { in read_text_file()
126 buf = NOFAIL(malloc(st.st_size + 1)); in read_text_file()
128 nbytes = st.st_size; in read_text_file()
141 buf[st.st_size] = '\0'; in read_text_file()
404 struct stat st; in grab_file() local
411 if (fstat(fd, &st)) in grab_file()
414 *size = st.st_size; in grab_file()
2111 struct stat st; in write_if_changed() local
2117 if (fstat(fileno(file), &st) < 0) in write_if_changed()
2120 if (st.st_size != b->pos) in write_if_changed()