time.h 250 B

12345678910111213141516171819
  1. #ifndef __GBLIBC_TIME_H_
  2. #define __GBLIBC_TIME_H_
  3. #include <stdint.h>
  4. #include <bits/alltypes.h>
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8. #define CLOCK_REALTIME 0
  9. #define CLOCK_MONOTONIC 1
  10. typedef int clockid_t;
  11. #ifdef __cplusplus
  12. }
  13. #endif
  14. #endif