1 | #ifndef DEFINE_FUNC_ATTRIBUTES |
---|---|
2 | # define DEFINE_FUNC_ATTRIBUTES |
3 | #endif |
4 | #include "nvim/func_attr.h" |
5 | #undef DEFINE_FUNC_ATTRIBUTES |
6 | void time_init(void); |
7 | uint64_t os_hrtime(void) FUNC_ATTR_WARN_UNUSED_RESULT; |
8 | uint64_t os_now(void) FUNC_ATTR_WARN_UNUSED_RESULT; |
9 | void os_delay(uint64_t ms, _Bool ignoreinput); |
10 | void os_microdelay(uint64_t us, _Bool ignoreinput); |
11 | struct tm *os_localtime_r(const time_t *restrict clock, struct tm *restrict result) FUNC_ATTR_NONNULL_ALL; |
12 | struct tm *os_localtime(struct tm *result) FUNC_ATTR_NONNULL_ALL; |
13 | Timestamp os_time(void) FUNC_ATTR_WARN_UNUSED_RESULT; |
14 | #include "nvim/func_attr.h" |
15 |