]> git.meshlink.io Git - utcp/commit
Use clock_gettime() instead of gettimeofday().
authorGuus Sliepen <guus@sliepen.org>
Sat, 28 Mar 2020 21:30:04 +0000 (22:30 +0100)
committerGuus Sliepen <guus@sliepen.org>
Sat, 28 Mar 2020 21:30:04 +0000 (22:30 +0100)
commit723d8c8b2d96834135f00c0ac4147282e1f0cc2c
tree3ce5cd87081226cd003d39bd6acf778a5b45ebb5
parent41112d3f0b47bf28cdf4b12798b4588c74005e46
Use clock_gettime() instead of gettimeofday().

It is more portable, and allows reading out the monotonic clock. On some
systems it is also faster than gettimeofday().
test.c
utcp.c
utcp.h
utcp_priv.h