summaryrefslogblamecommitdiffstats
path: root/testsuites/libtests/POSIX/gettimeofday.c
blob: a5ccd3d1d39e771abfb1ff6ff4bb978e524e44e1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                
/*
 * Copyright (c) 2011 by
 * Ralf Corsépius, Ulm, Germany. All rights reserved.
 *
 * Permission to use, copy, modify, and distribute this software
 * is freely granted, provided that this notice is preserved.
 */

#include <sys/time.h>

int
main (void)
{
  struct timeval tv;
  struct timezone tz;

  return gettimeofday(&tv, &tz);
}