From: john@iastate.edu (John Hascall)
Subject: Re: File descriptor equivalent of fflush?
Date: 1996/01/30 [thread overview]
Message-ID: <4elkod$d4j@news.iastate.edu> (raw)
In-Reply-To: 4eit6j$q4p@sparcserver.lrz-muenchen.de
<ua302aa@lrz-muenchen.de> 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
<a href="http://www.cc.iastate.edu/staff/systems/john/">My Homepage</a>
next prev parent reply other threads:[~1996-01-30 5:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-01-29 5:00 File descriptor equivalent of fflush? Anthony Lee
1996-01-29 5:00 ` (Summary of response) " Anthony Lee
1996-01-29 5:00 ` Kazimir Kylheku
1996-01-29 5:00 ` ua302aa
1996-01-30 5:00 ` John Hascall [this message]
1996-01-30 5:00 ` Curt Smith
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox