stats: Move QMP commands from monitor/ to stats/
[qemu/armbru.git] / linux-user / hppa / target_fcntl.h
blob4eb0ec98e25953ff209217d8666fc7b3ac4fa34f
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 */
8 #ifndef HPPA_TARGET_FCNTL_H
9 #define HPPA_TARGET_FCNTL_H
11 #define TARGET_O_NONBLOCK 000200000
12 #define TARGET_O_NONBLOCK_MASK 000200004 /* includes old HP-UX NDELAY flag */
13 #define TARGET_O_APPEND 000000010
14 #define TARGET_O_CREAT 000000400 /* not fcntl */
15 #define TARGET_O_EXCL 000002000 /* not fcntl */
16 #define TARGET_O_NOCTTY 000400000 /* not fcntl */
17 #define TARGET_O_DSYNC 001000000
18 #define TARGET_O_LARGEFILE 000004000
19 #define TARGET_O_DIRECTORY 000010000 /* must be a directory */
20 #define TARGET_O_NOFOLLOW 000000200 /* don't follow links */
21 #define TARGET_O_NOATIME 004000000
22 #define TARGET_O_CLOEXEC 010000000
23 #define TARGET___O_SYNC 000100000
24 #define TARGET_O_PATH 020000000
25 #define TARGET___O_TMPFILE 040000000
27 #define TARGET_F_RDLCK 1
28 #define TARGET_F_WRLCK 2
29 #define TARGET_F_UNLCK 3
31 #define TARGET_F_GETLK64 8 /* using 'struct flock64' */
32 #define TARGET_F_SETLK64 9
33 #define TARGET_F_SETLKW64 10
35 #define TARGET_F_GETLK 5
36 #define TARGET_F_SETLK 6
37 #define TARGET_F_SETLKW 7
38 #define TARGET_F_GETOWN 11 /* for sockets. */
39 #define TARGET_F_SETOWN 12 /* for sockets. */
40 #define TARGET_F_SETSIG 13 /* for sockets. */
41 #define TARGET_F_GETSIG 14 /* for sockets. */
43 #include "../generic/fcntl.h"
44 #endif