linux.hh (8324:aa7a67647c7b) linux.hh (8600:b0d7c64ada19)
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * Copyright (c) 2009 The University of Edinburgh
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

122 static const int TGT_O_NOFOLLOW = 00100000; //!< O_NOFOLLOW
123 static const int TGT_O_LARGEFILE = 00200000; //!< O_LARGEFILE
124 static const int TGT_O_DIRECT = 00400000; //!< O_DIRECT
125 static const int TGT_O_NOATIME = 01000000; //!< O_NOATIME
126 //@}
127
128 /// For mmap().
129 static const unsigned TGT_MAP_ANONYMOUS = 0x20;
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * Copyright (c) 2009 The University of Edinburgh
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

122 static const int TGT_O_NOFOLLOW = 00100000; //!< O_NOFOLLOW
123 static const int TGT_O_LARGEFILE = 00200000; //!< O_LARGEFILE
124 static const int TGT_O_DIRECT = 00400000; //!< O_DIRECT
125 static const int TGT_O_NOATIME = 01000000; //!< O_NOATIME
126 //@}
127
128 /// For mmap().
129 static const unsigned TGT_MAP_ANONYMOUS = 0x20;
130 static const unsigned TGT_MAP_FIXED = 0x10;
130
131 //@{
132 /// ioctl() command codes.
133 /// These are for the 2.6.15 kernel. Some have changed for
134 /// later versions.
135 static const unsigned TIOCGETP_ = 0x40067408;
136 static const unsigned TIOCSETP_ = 0x80067409;
137 static const unsigned TIOCSETN_ = 0x8006740a;
138 static const unsigned TIOCSETC_ = 0x80067411;
139 static const unsigned TIOCGETC_ = 0x40067412;
140 static const unsigned FIONREAD_ = 0x4004667f;
141 static const unsigned TIOCISATTY_ = 0x2000745e;
142 static const unsigned TIOCGETS_ = 0x402c7413;
143 static const unsigned TIOCGETA_ = 0x40147417;
144 static const unsigned TCSETAW_ = 0x80147419;
145 //@}
146};
147
148#endif // __ARCH_POWER_LINUX_LINUX_HH__
131
132 //@{
133 /// ioctl() command codes.
134 /// These are for the 2.6.15 kernel. Some have changed for
135 /// later versions.
136 static const unsigned TIOCGETP_ = 0x40067408;
137 static const unsigned TIOCSETP_ = 0x80067409;
138 static const unsigned TIOCSETN_ = 0x8006740a;
139 static const unsigned TIOCSETC_ = 0x80067411;
140 static const unsigned TIOCGETC_ = 0x40067412;
141 static const unsigned FIONREAD_ = 0x4004667f;
142 static const unsigned TIOCISATTY_ = 0x2000745e;
143 static const unsigned TIOCGETS_ = 0x402c7413;
144 static const unsigned TIOCGETA_ = 0x40147417;
145 static const unsigned TCSETAW_ = 0x80147419;
146 //@}
147};
148
149#endif // __ARCH_POWER_LINUX_LINUX_HH__