[1402] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

about O_SYNC &c

daemon@ATHENA.MIT.EDU (John T Kohl)
Thu May 11 22:53:41 1995

Date: Thu, 11 May 1995 22:53:14 -0400
From: John T Kohl <jtkohl@MIT.EDU>
To: krb5-bugs@MIT.EDU

For non-POSIX flags which you want to use when they exist, I suggest
things like the following in some krb5 include file:

#ifndef O_SYNC
#define O_SYNC 0
#endif

This works great for things like O_RDWR|O_SYNC, and makes the code much
more readable than #ifdef's

==John

home help back first fref pref prev next nref lref last post