From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,a8c6b03ff0f3bde6 X-Google-Attributes: gid10b612,public X-Google-Thread: fee84,a8c6b03ff0f3bde6 X-Google-Attributes: gidfee84,public X-Google-Thread: 1014db,a8c6b03ff0f3bde6 X-Google-Attributes: gid1014db,public X-Google-Thread: f678f,a8c6b03ff0f3bde6 X-Google-Attributes: gidf678f,public From: john@iastate.edu (John Hascall) Subject: Re: File descriptor equivalent of fflush? Date: 1996/01/30 Message-ID: <4elkod$d4j@news.iastate.edu>#1/1 X-Deja-AN: 137205993 references: <4eit6j$q4p@sparcserver.lrz-muenchen.de> organization: Iowa State University, Ames, Iowa USA followup-to: comp.unix.osf.osf1,comp.unix.ultrix newsgroups: comp.lang.c,comp.unix.osf.misc,comp.unix.osf.osf1,comp.unix.ultrix wrote: }al012@svtstu.seqeb.gov.au (Anthony Lee) writes: }>I am trying to find an equivalent of fflush for file descriptors }>in ULTRIX and OSF. } }flushing buffers in not very meaningful for unbuffered i/o. If "low }level" i/o is buffered in ULTIRX or "OSF", try to find an answer }in a system specific group. That's not a great answer... + flushing buffers is meaningful for unbuffered i/o. + it isn't specific to Ultrix or OSF The answer is: status = fsync(fd); John -- John Hascall ``An ill-chosen word is the fool's messenger.'' Moderator, comp.unix.wizards Systems Software Engineer, ISU Comp Center + Ames, IA 50011 + 515/294-9551 My Homepage