qemu

FORK: QEMU emulator
git clone https://git.neptards.moe/neptards/qemu.git
Log | Files | Refs | Submodules | LICENSE

target_fcntl.h (1679B)


      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_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
     26 
     27 #define TARGET_F_RDLCK         1
     28 #define TARGET_F_WRLCK         2
     29 #define TARGET_F_UNLCK         3
     30 
     31 #define TARGET_F_GETLK64       8       /*  using 'struct flock64' */
     32 #define TARGET_F_SETLK64       9
     33 #define TARGET_F_SETLKW64      10
     34 
     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. */
     42 
     43 #include "../generic/fcntl.h"
     44 #endif