Lines Matching refs:fd_writer
160 int fd_writer = 0; variable
715 if ((fd_writer = open64(file, O_RDWR)) == -1) {
717 if ((fd_writer = open(file, O_RDWR)) == -1) {
723 if ((off = lseek64(fd_writer, 0, SEEK_END)) == -1) {
725 if ((off = lseek(fd_writer, 0, SEEK_END)) == -1) {
733 if (fstat64(fd_writer, &statbuf) == -1) {
735 if (fstat(fd_writer, &statbuf) == -1) {
759 if ((cnt = write(fd_writer, p, growsize)) != growsize) {
772 if (fsync(fd_writer) == -1) {
778 close(fd_writer);
903 if (fd_writer)
904 close(fd_writer);