foot/misc.h

11 lines
332 B
C
Raw Normal View History

#pragma once
#include <stdbool.h>
#include <uchar.h>
#include <time.h>
bool isword(char32_t wc, bool spaces_only, const char32_t *delimiters);
2022-09-22 18:32:28 +02:00
void timespec_add(const struct timespec *a, const struct timespec *b, struct timespec *res);
void timespec_sub(const struct timespec *a, const struct timespec *b, struct timespec *res);