aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/time.h
blob: 3b185825be6bfbeaef1435f61d89ff3fe228bd03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef NVIM_OS_TIME_H
#define NVIM_OS_TIME_H

#include <stdint.h>
#include <stdbool.h>

void time_init(void);

void os_delay(uint64_t milliseconds, bool ignoreinput);

void os_microdelay(uint64_t microseconds, bool ignoreinput);

struct tm *os_localtime_r(const time_t *clock, struct tm *result);

struct tm *os_get_localtime(struct tm *result);

#endif  // NVIM_OS_TIME_H