summaryrefslogtreecommitdiff
path: root/src/sysdeps/tryclockboot.c
blob: de8bf5cddb732665d12d9fca1737575db37be0b2 (plain)
1
2
3
4
5
6
7
8
9
10
/* ISC license. */

#include <time.h>

int main (void)
{
  struct timespec ts ;
  if (clock_gettime(CLOCK_BOOTTIME, &ts) < 0) return 111 ;
  return 0 ;
}