
19 Nov
2001
19 Nov
'01
9:07 p.m.
On Tue, Nov 20, 2001 at 12:04:47PM +1100, Manuel M. T. Chakravarty wrote:
AFAIK no OS implements all of the Single Unix specification. Nevertheless, I think, Sigbjorn is right. Ideally, we should have a binding for Single Unix and on any particular OS, you will have a subset of it available (that's the same situation as you have with any other programming language).
As is pointed out in the open(2) man page, O_SYNC, O_DSYNC, and O_RSYNC are synonymous in Linux 2.2. In 2.4, at least with some file systems (eg, XFS) you can choose which behaviour O_SYNC should have.
I understand. So, can the attached file be a "Single Unix compatible" 'open' function binding? The only difference I see is the *SYNC flags. Did I miss anything? Max.