1 /* 2 * This program is free software; you can redistribute it and/or modify 3 * it under the terms of the GNU General Public License version 2 as 4 * published by the Free Software Foundation, or (at your option) any 5 * later version. See the COPYING file in the top-level directory. 6 */ 7 8 #ifndef HPPA_TARGET_FCNTL_H 9 #define HPPA_TARGET_FCNTL_H 10 11 #define TARGET_O_NONBLOCK 000200000 12 #define TARGET_O_APPEND 000000010 13 #define TARGET_O_CREAT 000000400 /* not fcntl */ 14 #define TARGET_O_EXCL 000002000 /* not fcntl */ 15 #define TARGET_O_NOCTTY 000400000 /* not fcntl */ 16 #define TARGET_O_DSYNC 001000000 17 #define TARGET_O_LARGEFILE 000004000 18 #define TARGET_O_DIRECTORY 000010000 /* must be a directory */ 19 #define TARGET_O_NOFOLLOW 000000200 /* don't follow links */ 20 #define TARGET_O_NOATIME 004000000 21 #define TARGET_O_CLOEXEC 010000000 22 #define TARGET___O_SYNC 000100000 23 #define TARGET_O_PATH 020000000 24 #define TARGET___O_TMPFILE 040000000 25 26 #define TARGET_F_RDLCK 1 27 #define TARGET_F_WRLCK 2 28 #define TARGET_F_UNLCK 3 29 30 #define TARGET_F_GETLK64 8 /* using 'struct flock64' */ 31 #define TARGET_F_SETLK64 9 32 #define TARGET_F_SETLKW64 10 33 34 #define TARGET_F_GETLK 5 35 #define TARGET_F_SETLK 6 36 #define TARGET_F_SETLKW 7 37 #define TARGET_F_GETOWN 11 /* for sockets. */ 38 #define TARGET_F_SETOWN 12 /* for sockets. */ 39 #define TARGET_F_SETSIG 13 /* for sockets. */ 40 #define TARGET_F_GETSIG 14 /* for sockets. */ 41 42 #include "../generic/fcntl.h" 43 #endif 44