util: remove support -chardev tty and -chardev parport
[qemu.git] / linux-user / sparc / target_fcntl.h
blobc2532989e59dec71d705c7ed5a1714a0fa1e6107
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 SPARC_TARGET_FCNTL_H
9 #define SPARC_TARGET_FCNTL_H
11 #define TARGET_O_APPEND 0x0008
12 #define TARGET_FASYNC 0x0040 /* fcntl, for BSD compatibility */
13 #define TARGET_O_CREAT 0x0200 /* not fcntl */
14 #define TARGET_O_TRUNC 0x0400 /* not fcntl */
15 #define TARGET_O_EXCL 0x0800 /* not fcntl */
16 #define TARGET_O_DSYNC 0x2000
17 #define TARGET_O_NONBLOCK 0x4000
18 # ifdef TARGET_SPARC64
19 # define TARGET_O_NDELAY 0x0004
20 # else
21 # define TARGET_O_NDELAY (0x0004 | TARGET_O_NONBLOCK)
22 # endif
23 #define TARGET_O_NOCTTY 0x8000 /* not fcntl */
24 #define TARGET_O_LARGEFILE 0x40000
25 #define TARGET_O_DIRECT 0x100000 /* direct disk access hint */
26 #define TARGET_O_NOATIME 0x200000
27 #define TARGET_O_CLOEXEC 0x400000
28 #define TARGET___O_SYNC 0x800000
29 #define TARGET_O_PATH 0x1000000
30 #define TARGET___O_TMPFILE 0x2000000
32 #define TARGET_F_RDLCK 1
33 #define TARGET_F_WRLCK 2
34 #define TARGET_F_UNLCK 3
35 #define TARGET_F_GETOWN 5 /* for sockets. */
36 #define TARGET_F_SETOWN 6 /* for sockets. */
37 #define TARGET_F_GETLK 7
38 #define TARGET_F_SETLK 8
39 #define TARGET_F_SETLKW 9
41 #define TARGET_ARCH_FLOCK_PAD abi_short __unused;
42 #define TARGET_ARCH_FLOCK64_PAD abi_short __unused;
44 #include "../generic/fcntl.h"
45 #endif