view modules/gettimeofday @ 16364:89227b989588

fatal-signal: use C prototypes (with explicit void). * lib/fatal-signal.c (uninstall_handlers, install_handlers) (init_fatal_signal_set, block_fatal_signals): Fix signatures.
author Akim Demaille <demaille@gostai.com>
date Wed, 08 Feb 2012 10:36:20 +0100
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