2007-11-15 Jeff Johnston <jjohnstn@redhat.com>

* libc/include/sys/_default_fcntl.h: New header file that
        is the default version of sys/fcntl.h.
        * libc/include/sys/fcntl.h: Changed to simply include
        sys/_default_fcntl.h.
        * libc/sys/arm/sys/fcntl.h: New file that includes
        sys/_default_fcntl.h and defines O_BINARY.
This commit is contained in:
Jeff Johnston
2007-12-19 18:49:17 +00:00
parent c6bfc3d4bc
commit 7f9b49e427
3 changed files with 198 additions and 182 deletions

View File

@ -0,0 +1,12 @@
#ifndef _SYS_FCNTL_H_
#define _SYS_FCNTL_H_
#include <sys/_default_fcntl.h>
/* We want to support O_BINARY for the open syscall.
For example, the Demon debug monitor has a separate
flag value for "rb" vs "r". */
#define _FBINARY 0x10000
#define O_BINARY _FBINARY
#endif /* _SYS_FCNTL_H_ */