view modules/gettimeofday @ 17935:0ad1f4c9eed5 default tip

tests: support stderr verification with returns_() * tests/init.sh (returns_): Disable tracing for this wrapper function, so that stderr of the wrapped command is unchanged, allowing for verification of the contents.
author Pádraig Brady <P@draigBrady.com>
date Mon, 16 Feb 2015 17:20:39 +0000
parents 599acc01166d
children
line wrap: on
line source

Description:
gettimeofday() function: return current time.

Files:
lib/gettimeofday.c
m4/gettimeofday.m4

Depends-on:
sys_time

configure.ac:
gl_FUNC_GETTIMEOFDAY
if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
  AC_LIBOBJ([gettimeofday])
  gl_PREREQ_GETTIMEOFDAY
fi
gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])

Makefile.am:

Include:
<sys/time.h>

License:
LGPLv2+

Maintainer:
Paul Eggert, Jim Meyering