Lines Matching defs:fd_writer
159 int fd_writer = 0;
714 if ((fd_writer = open64(file, O_RDWR)) == -1) {
716 if ((fd_writer = open(file, O_RDWR)) == -1) {
722 if ((off = lseek64(fd_writer, 0, SEEK_END)) == -1) {
724 if ((off = lseek(fd_writer, 0, SEEK_END)) == -1) {
732 if (fstat64(fd_writer, &statbuf) == -1) {
734 if (fstat(fd_writer, &statbuf) == -1) {
758 if ((cnt = write(fd_writer, p, growsize)) != growsize) {
771 if (fsync(fd_writer) == -1) {
777 close(fd_writer);
902 if (fd_writer)
903 close(fd_writer);