view modules/gettimeofday @ 17450:fcdfb5b7741a

* lib/tmpdir.c: Simplify code to add slash; no need for a loop.
author Paul Eggert <eggert@cs.ucla.edu>
date Mon, 15 Jul 2013 13:32:24 -0700
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