Revision f09936ac
b/linux-user/syscall_defs.h | ||
---|---|---|
905 | 905 |
#define TARGET_F_SETLK64 13 |
906 | 906 |
#define TARGET_F_SETLKW64 14 |
907 | 907 |
|
908 |
#if defined (TARGET_PPC) |
|
908 |
#if defined (TARGET_ARM) |
|
909 |
#define TARGET_O_ACCMODE 0003 |
|
910 |
#define TARGET_O_RDONLY 00 |
|
911 |
#define TARGET_O_WRONLY 01 |
|
912 |
#define TARGET_O_RDWR 02 |
|
913 |
#define TARGET_O_CREAT 0100 /* not fcntl */ |
|
914 |
#define TARGET_O_EXCL 0200 /* not fcntl */ |
|
915 |
#define TARGET_O_NOCTTY 0400 /* not fcntl */ |
|
916 |
#define TARGET_O_TRUNC 01000 /* not fcntl */ |
|
917 |
#define TARGET_O_APPEND 02000 |
|
918 |
#define TARGET_O_NONBLOCK 04000 |
|
919 |
#define TARGET_O_NDELAY O_NONBLOCK |
|
920 |
#define TARGET_O_SYNC 010000 |
|
921 |
#define TARGET_FASYNC 020000 /* fcntl, for BSD compatibility */ |
|
922 |
#define TARGET_O_DIRECTORY 040000 /* must be a directory */ |
|
923 |
#define TARGET_O_NOFOLLOW 0100000 /* don't follow links */ |
|
924 |
#define TARGET_O_DIRECT 0200000 /* direct disk access hint */ |
|
925 |
#define TARGET_O_LARGEFILE 0400000 |
|
926 |
#elif defined (TARGET_PPC) |
|
909 | 927 |
#define TARGET_O_ACCMODE 0003 |
910 | 928 |
#define TARGET_O_RDONLY 00 |
911 | 929 |
#define TARGET_O_WRONLY 01 |
Also available in: Unified diff