This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi,
in libc/include/sys/fcntl.h, the O_SYNC flag is guarded by "#ifndef _POSIX_SOURCE", together with these unlucky BSD defines FAPPEND, FSYNC, etc. However, O_SYNC is defined by SUSv3 as part of the "Synchronized Input and Output" extension [SIO], together with its siblings O_DSYNC and O_RSYNC. Shouldn't O_SYNC be taken out of the "#ifndef _POSIX_SOURCE" guarded part and be always defined instead?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |