freebsd.hh (11381:516213d2f0cf) | freebsd.hh (11383:5ac090acd180) |
---|---|
1/* 2 * Copyright (c) 2015 Ruslan Bukin <br@bsdpad.com> 3 * All rights reserved. 4 * 5 * This software was developed by the University of Cambridge Computer 6 * Laboratory as part of the CTSRD Project, with support from the UK Higher 7 * Education Innovation Fund (HEIF). 8 * --- 60 unchanged lines hidden (view full) --- 69 static const int TGT_FASYNC = 0x00000040; //!< FASYNC 70 static const int TGT_O_DIRECT = 0x00010000; //!< O_DIRECT 71 static const int TGT_O_DIRECTORY = 0x00020000; //!< O_DIRECTORY 72 static const int TGT_O_NOFOLLOW = 0x00000100; //!< O_NOFOLLOW 73 static const int TGT_O_CLOEXEC = 0x00100000; //!< O_CLOEXEC 74 //@} 75 76 /// For mmap(). | 1/* 2 * Copyright (c) 2015 Ruslan Bukin <br@bsdpad.com> 3 * All rights reserved. 4 * 5 * This software was developed by the University of Cambridge Computer 6 * Laboratory as part of the CTSRD Project, with support from the UK Higher 7 * Education Innovation Fund (HEIF). 8 * --- 60 unchanged lines hidden (view full) --- 69 static const int TGT_FASYNC = 0x00000040; //!< FASYNC 70 static const int TGT_O_DIRECT = 0x00010000; //!< O_DIRECT 71 static const int TGT_O_DIRECTORY = 0x00020000; //!< O_DIRECTORY 72 static const int TGT_O_NOFOLLOW = 0x00000100; //!< O_NOFOLLOW 73 static const int TGT_O_CLOEXEC = 0x00100000; //!< O_CLOEXEC 74 //@} 75 76 /// For mmap(). |
77 static const unsigned TGT_MAP_SHARED = 0x0001; 78 static const unsigned TGT_MAP_PRIVATE = 0x0002; |
|
77 static const unsigned TGT_MAP_ANONYMOUS = 0x1000; 78 static const unsigned TGT_MAP_FIXED = 0x0010; 79 80 /// Limit struct for getrlimit/setrlimit. 81 struct rlimit { 82 uint32_t rlim_cur; //!< soft limit 83 uint32_t rlim_max; //!< hard limit 84 }; --- 139 unchanged lines hidden (view full) --- 224 static const int TGT_FASYNC = 0x00000040; //!< FASYNC 225 static const int TGT_O_DIRECT = 0x00010000; //!< O_DIRECT 226 static const int TGT_O_DIRECTORY = 0x00020000; //!< O_DIRECTORY 227 static const int TGT_O_NOFOLLOW = 0x00000100; //!< O_NOFOLLOW 228 static const int TGT_O_CLOEXEC = 0x00100000; //!< O_CLOEXEC 229 //@} 230 231 /// For mmap(). | 79 static const unsigned TGT_MAP_ANONYMOUS = 0x1000; 80 static const unsigned TGT_MAP_FIXED = 0x0010; 81 82 /// Limit struct for getrlimit/setrlimit. 83 struct rlimit { 84 uint32_t rlim_cur; //!< soft limit 85 uint32_t rlim_max; //!< hard limit 86 }; --- 139 unchanged lines hidden (view full) --- 226 static const int TGT_FASYNC = 0x00000040; //!< FASYNC 227 static const int TGT_O_DIRECT = 0x00010000; //!< O_DIRECT 228 static const int TGT_O_DIRECTORY = 0x00020000; //!< O_DIRECTORY 229 static const int TGT_O_NOFOLLOW = 0x00000100; //!< O_NOFOLLOW 230 static const int TGT_O_CLOEXEC = 0x00100000; //!< O_CLOEXEC 231 //@} 232 233 /// For mmap(). |
234 static const unsigned TGT_MAP_SHARED = 0x0001; 235 static const unsigned TGT_MAP_PRIVATE = 0x0002; |
|
232 static const unsigned TGT_MAP_ANONYMOUS = 0x1000; 233 static const unsigned TGT_MAP_FIXED = 0x0010; 234 235 //@{ 236 /// For getrusage(). 237 static const int TGT_RUSAGE_SELF = 0; 238 static const int TGT_RUSAGE_CHILDREN = -1; 239 static const int TGT_RUSAGE_THREAD = 1; --- 117 unchanged lines hidden --- | 236 static const unsigned TGT_MAP_ANONYMOUS = 0x1000; 237 static const unsigned TGT_MAP_FIXED = 0x0010; 238 239 //@{ 240 /// For getrusage(). 241 static const int TGT_RUSAGE_SELF = 0; 242 static const int TGT_RUSAGE_CHILDREN = -1; 243 static const int TGT_RUSAGE_THREAD = 1; --- 117 unchanged lines hidden --- |