Rev 1693 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1693 | Rev 3065 | ||
---|---|---|---|
Line 173... | Line 173... | ||
173 | #ifdef __cplusplus |
173 | #ifdef __cplusplus |
174 | } |
174 | } |
175 | #endif |
175 | #endif |
176 | #endif /* _POSIX_TIMERS */ |
176 | #endif /* _POSIX_TIMERS */ |
Line -... | Line 177... | ||
- | 177 | ||
- | 178 | #if defined(_POSIX_CLOCK_SELECTION) |
|
- | 179 | ||
- | 180 | #ifdef __cplusplus |
|
- | 181 | extern "C" { |
|
- | 182 | #endif |
|
- | 183 | ||
- | 184 | int _EXFUN(clock_nanosleep, |
|
- | 185 | (clockid_t clock_id, int flags, const struct timespec *rqtp, |
|
- | 186 | struct timespec *rmtp)); |
|
- | 187 | ||
- | 188 | #ifdef __cplusplus |
|
- | 189 | } |
|
- | 190 | #endif |
|
- | 191 | ||
- | 192 | #endif /* _POSIX_CLOCK_SELECTION */ |
|
177 | 193 | ||
178 | #ifdef __cplusplus |
194 | #ifdef __cplusplus |
179 | extern "C" { |
195 | extern "C" { |
Line 180... | Line 196... | ||
180 | #endif |
196 | #endif |
Line 210... | Line 226... | ||
210 | 226 | ||
211 | /* When used in a clock or timer function call, this is interpreted as |
227 | /* When used in a clock or timer function call, this is interpreted as |
212 | the identifier of the CPU_time clock associated with the PROCESS |
228 | the identifier of the CPU_time clock associated with the PROCESS |
Line 213... | Line 229... | ||
213 | making the function call. */ |
229 | making the function call. */ |
Line 214... | Line 230... | ||
214 | 230 | ||
Line 215... | Line 231... | ||
215 | #define CLOCK_PROCESS_CPUTIME (clockid_t)2 |
231 | #define CLOCK_PROCESS_CPUTIME_ID (clockid_t)2 |
Line 216... | Line 232... | ||
216 | 232 | ||
217 | #endif |
233 | #endif |
218 | 234 | ||
Line 219... | Line 235... | ||
219 | #if defined(_POSIX_THREAD_CPUTIME) |
235 | #if defined(_POSIX_THREAD_CPUTIME) |
Line 220... | Line 236... | ||
220 | 236 | ||
Line 221... | Line 237... | ||
221 | /* When used in a clock or timer function call, this is interpreted as |
237 | /* When used in a clock or timer function call, this is interpreted as |