forked from KolibriOS/kolibrios
newlib: update
git-svn-id: svn://kolibrios.org@3065 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -175,6 +175,22 @@ int _EXFUN(nanosleep, (const struct timespec *rqtp, struct timespec *rmtp));
|
||||
#endif
|
||||
#endif /* _POSIX_TIMERS */
|
||||
|
||||
#if defined(_POSIX_CLOCK_SELECTION)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int _EXFUN(clock_nanosleep,
|
||||
(clockid_t clock_id, int flags, const struct timespec *rqtp,
|
||||
struct timespec *rmtp));
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _POSIX_CLOCK_SELECTION */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -212,7 +228,7 @@ extern "C" {
|
||||
the identifier of the CPU_time clock associated with the PROCESS
|
||||
making the function call. */
|
||||
|
||||
#define CLOCK_PROCESS_CPUTIME (clockid_t)2
|
||||
#define CLOCK_PROCESS_CPUTIME_ID (clockid_t)2
|
||||
|
||||
#endif
|
||||
|
||||
@@ -222,7 +238,7 @@ extern "C" {
|
||||
the identifier of the CPU_time clock associated with the THREAD
|
||||
making the function call. */
|
||||
|
||||
#define CLOCK_THREAD_CPUTIME (clockid_t)3
|
||||
#define CLOCK_THREAD_CPUTIME_ID (clockid_t)3
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user