linux.hh (7416:e1a7a9f33a00) linux.hh (7441:be2acdfb8bdc)
1/*
2 * Copyright (c) 2010 ARM Limited
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_CREAT = 00000100; //!< O_CREAT
75 static const int TGT_O_EXCL = 00000200; //!< O_EXCL
76 static const int TGT_O_NOCTTY = 00000400; //!< O_NOCTTY
77 static const int TGT_O_TRUNC = 00001000; //!< O_TRUNC
78 static const int TGT_O_APPEND = 00002000; //!< O_APPEND
79 static const int TGT_O_NONBLOCK = 00004000; //!< O_NONBLOCK
80 static const int TGT_O_SYNC = 00010000; //!< O_SYNC
81 static const int TGT_FASYNC = 00020000; //!< FASYNC
1/*
2 * Copyright (c) 2010 ARM Limited
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_CREAT = 00000100; //!< O_CREAT
75 static const int TGT_O_EXCL = 00000200; //!< O_EXCL
76 static const int TGT_O_NOCTTY = 00000400; //!< O_NOCTTY
77 static const int TGT_O_TRUNC = 00001000; //!< O_TRUNC
78 static const int TGT_O_APPEND = 00002000; //!< O_APPEND
79 static const int TGT_O_NONBLOCK = 00004000; //!< O_NONBLOCK
80 static const int TGT_O_SYNC = 00010000; //!< O_SYNC
81 static const int TGT_FASYNC = 00020000; //!< FASYNC
82 static const int TGT_O_DIRECTORY = 00040000; //!< O_DIRECTORY
83 static const int TGT_O_NOFOLLOW = 00100000; //!< O_NOFOLLOW
84 static const int TGT_O_DIRECT = 00200000; //!< O_DIRECT
85 static const int TGT_O_LARGEFILE = 00400000; //!< O_LARGEFILE
82 static const int TGT_O_DIRECT = 00040000; //!< O_DIRECT
83 static const int TGT_O_LARGEFILE = 00100000; //!< O_LARGEFILE
84 static const int TGT_O_DIRECTORY = 00200000; //!< O_DIRECTORY
85 static const int TGT_O_NOFOLLOW = 00400000; //!< O_NOFOLLOW
86 static const int TGT_O_NOATIME = 01000000; //!< O_NOATIME
86 static const int TGT_O_NOATIME = 01000000; //!< O_NOATIME
87 static const int TGT_O_CLOEXEC = 02000000; //!< O_NOATIME
88
89
87 //@}
88
89 /// For mmap().
90 static const unsigned TGT_MAP_ANONYMOUS = 0x20;
91
92 //@{
93 /// For getrusage().
94 static const int TGT_RUSAGE_SELF = 0;

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

101 static const unsigned TIOCGETP_ = 0x5401;
102 static const unsigned TIOCSETP_ = 0x80067409;
103 static const unsigned TIOCSETN_ = 0x8006740a;
104 static const unsigned TIOCSETC_ = 0x80067411;
105 static const unsigned TIOCGETC_ = 0x40067412;
106 static const unsigned FIONREAD_ = 0x4004667f;
107 static const unsigned TIOCISATTY_ = 0x2000745e;
108 static const unsigned TIOCGETS_ = 0x402c7413;
90 //@}
91
92 /// For mmap().
93 static const unsigned TGT_MAP_ANONYMOUS = 0x20;
94
95 //@{
96 /// For getrusage().
97 static const int TGT_RUSAGE_SELF = 0;

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

104 static const unsigned TIOCGETP_ = 0x5401;
105 static const unsigned TIOCSETP_ = 0x80067409;
106 static const unsigned TIOCSETN_ = 0x8006740a;
107 static const unsigned TIOCSETC_ = 0x80067411;
108 static const unsigned TIOCGETC_ = 0x40067412;
109 static const unsigned FIONREAD_ = 0x4004667f;
110 static const unsigned TIOCISATTY_ = 0x2000745e;
111 static const unsigned TIOCGETS_ = 0x402c7413;
109 static const unsigned TIOCGETA_ = 0x40127417;
112 static const unsigned TIOCGETA_ = 0x5405;
110 static const unsigned TCSETAW_ = 0x5407; // 2.6.15 kernel
111 //@}
112
113 /// For table().
114 static const int TBL_SYSINFO = 12;
115
116 /// Resource enumeration for getrlimit().
117 enum rlimit_resources {

--- 120 unchanged lines hidden ---
113 static const unsigned TCSETAW_ = 0x5407; // 2.6.15 kernel
114 //@}
115
116 /// For table().
117 static const int TBL_SYSINFO = 12;
118
119 /// Resource enumeration for getrlimit().
120 enum rlimit_resources {

--- 120 unchanged lines hidden ---