linux.hh (8837:d492e0bb7e95) linux.hh (8972:9403273a3b46)
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 65 unchanged lines hidden (view full) ---

74 static const int TGT_O_RDWR = 00000002; //!< O_RDWR
75 static const int TGT_O_NONBLOCK = 00004000; //!< O_NONBLOCK
76 static const int TGT_O_APPEND = 00002000; //!< O_APPEND
77 static const int TGT_O_CREAT = 00000100; //!< O_CREAT
78 static const int TGT_O_TRUNC = 00001000; //!< O_TRUNC
79 static const int TGT_O_EXCL = 00000200; //!< O_EXCL
80 static const int TGT_O_NOCTTY = 00000400; //!< O_NOCTTY
81 static const int TGT_O_SYNC = 00010000; //!< O_SYNC
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 65 unchanged lines hidden (view full) ---

74 static const int TGT_O_RDWR = 00000002; //!< O_RDWR
75 static const int TGT_O_NONBLOCK = 00004000; //!< O_NONBLOCK
76 static const int TGT_O_APPEND = 00002000; //!< O_APPEND
77 static const int TGT_O_CREAT = 00000100; //!< O_CREAT
78 static const int TGT_O_TRUNC = 00001000; //!< O_TRUNC
79 static const int TGT_O_EXCL = 00000200; //!< O_EXCL
80 static const int TGT_O_NOCTTY = 00000400; //!< O_NOCTTY
81 static const int TGT_O_SYNC = 00010000; //!< O_SYNC
82// static const int TGT_O_DRD = 0x00010000; //!< O_DRD
83// static const int TGT_O_DIRECTIO = 0x00020000; //!< O_DIRECTIO
84// static const int TGT_O_CACHE = 0x00002000; //!< O_CACHE
85// static const int TGT_O_DSYNC = 0x00008000; //!< O_DSYNC
86// static const int TGT_O_RSYNC = 0x00040000; //!< O_RSYNC
82 static const int TGT_O_ASYNC = 00020000;
83 static const int TGT_O_DIRECT = 00040000; //!< O_DIRECTIO
84 static const int TGT_O_LARGEFILE = 00100000;
85 static const int TGT_O_DIRECTORY = 00200000;
86 static const int TGT_O_NOFOLLOW = 00400000;
87 static const int TGT_O_NOATIME = 01000000;
88 static const int TGT_O_CLOEXEC = 02000000;
87
88 static const int NUM_OPEN_FLAGS;
89
90 static const unsigned TGT_MAP_ANONYMOUS = 0x20;
91 static const unsigned TGT_MAP_FIXED = 0x10;
92
93 typedef struct {
94 uint64_t iov_base; // void *

--- 90 unchanged lines hidden ---
89
90 static const int NUM_OPEN_FLAGS;
91
92 static const unsigned TGT_MAP_ANONYMOUS = 0x20;
93 static const unsigned TGT_MAP_FIXED = 0x10;
94
95 typedef struct {
96 uint64_t iov_base; // void *

--- 90 unchanged lines hidden ---