aboutsummaryrefslogtreecommitdiff
path: root/misc.h
blob: 9bbc4744175973855637018b05171348bb9f47d4 (plain)
1
2
3
4
5
6
7
8
9
#pragma once

#include <stdbool.h>
#include <wchar.h>
#include <time.h>

bool isword(wchar_t wc, bool spaces_only, const wchar_t *delimiters);

void timespec_sub(const struct timespec *a, const struct timespec *b, struct timespec *res);