O_SYNC option in SVR3 open system call
Gerardo Brenes
gerardo at gatech.EDU
Sun Nov 9 13:46:55 AEST 1986
Subject: SVR3 open with O_SYNC option
Newsgroups: comp.unix.questions
Keywords: really waits for physical update?
In the reference manual for SVR3 for the ATT 3B2 machine, the description for
the open system call mentions an option O_SYNC. It literally says:
O_SYNC When opening a regular file, this flag affects subsequent
writes. If set, each write (2) will wait for both the file
data and file status to be physically updated.
Does anybody out there knows if this wait is for real or is the same BSD idea
of the "fflush" in which blocks are merely "scheduled" and the call returns as
if they were actually written to the device.
Please use e-mail to answer and I'll post a summary of comments if enough
interest is shown. Thanks a lot for your help.
Gerardo Brenes
================================================================================
Smile ! They might think you are nuts and just go along with it!
================================================================================
School of Information & Computer Science, Georgia Tech, Atlanta GA 30332
CSNet: gerardo at GATech
ARPA: gerardo%GATech.CSNet at CSNet-Relay.ARPA
uucp: ...!{akgua,allegra,hplabs,ihnp4,linus,seismo,ulysses}!gatech!gerardo
================================================================================
More information about the Comp.unix.questions
mailing list