Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2011-07-20 23:41:15 +0400
committerYaakov Selkowitz <yselkowi@redhat.com>2011-07-20 23:41:15 +0400
commit792c8bcff2d1f9102408f86edb057f158b2b5090 (patch)
treea5be5d33f4fc33f2ab780b969aac697b0e83f852 /newlib/libc/include/time.h
parent42f8872e61163d2e87cdcecd6de0dc199c444b1d (diff)
* libc/include/time.h [_POSIX_CLOCK_SELECTION] (clock_nanosleep):
Declare. * libc/include/sys/features.h [__CYGWIN__] (_POSIX_CLOCK_SELECTION): Define.
Diffstat (limited to 'newlib/libc/include/time.h')
-rw-r--r--newlib/libc/include/time.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/newlib/libc/include/time.h b/newlib/libc/include/time.h
index 7d3b2abd3..306bad619 100644
--- a/newlib/libc/include/time.h
+++ b/newlib/libc/include/time.h
@@ -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