iotests.py: don't abort if IMGKEYSECRET is undefined
[qemu/ar7.git] / linux-user / hppa / target_fcntl.h
blobbd966a59b8d4aa687864eaf657c06cc296102699
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 000200004 /* HPUX has separate NDELAY & NONBLOCK */
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
25 #define TARGET_F_RDLCK 1
26 #define TARGET_F_WRLCK 2
27 #define TARGET_F_UNLCK 3
29 #define TARGET_F_GETLK64 8 /* using 'struct flock64' */
30 #define TARGET_F_SETLK64 9
31 #define TARGET_F_SETLKW64 10
33 #define TARGET_F_GETLK 5
34 #define TARGET_F_SETLK 6
35 #define TARGET_F_SETLKW 7
36 #define TARGET_F_GETOWN 11 /* for sockets. */
37 #define TARGET_F_SETOWN 12 /* for sockets. */
38 #define TARGET_F_SETSIG 13 /* for sockets. */
39 #define TARGET_F_GETSIG 14 /* for sockets. */
41 #include "../generic/fcntl.h"
42 #endif