Deleted Added
sdiff udiff text old ( 11381:516213d2f0cf ) new ( 11382:654272b82e94 )
full compact
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

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

93 /// For times().
94 struct tms {
95 int32_t tms_utime; //!< user time
96 int32_t tms_stime; //!< system time
97 int32_t tms_cutime; //!< user time of children
98 int32_t tms_cstime; //!< system time of children
99 };
100
101 /// This table maps the target open() flags to the corresponding
102 /// host open() flags.
103 static SyscallFlagTransTable openFlagTable[];
104
105 /// Number of entries in openFlagTable[].
106 static const int NUM_OPEN_FLAGS;
107
108 //@{
109 /// open(2) flag values.
110 static const int TGT_O_RDONLY = 00000000; //!< O_RDONLY
111 static const int TGT_O_WRONLY = 00000001; //!< O_WRONLY
112 static const int TGT_O_RDWR = 00000002; //!< O_RDWR
113 static const int TGT_O_CREAT = 00000100; //!< O_CREAT
114 static const int TGT_O_EXCL = 00000200; //!< O_EXCL
115 static const int TGT_O_NOCTTY = 00000400; //!< O_NOCTTY
116 static const int TGT_O_TRUNC = 00001000; //!< O_TRUNC
117 static const int TGT_O_APPEND = 00002000; //!< O_APPEND
118 static const int TGT_O_NONBLOCK = 00004000; //!< O_NONBLOCK
119 static const int TGT_O_SYNC = 00010000; //!< O_SYNC
120 static const int TGT_FASYNC = 00020000; //!< FASYNC
121 static const int TGT_O_DIRECTORY = 00040000; //!< O_DIRECTORY
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;
131
132 //@{
133 /// ioctl() command codes.

--- 31 unchanged lines hidden ---