view modules/gettime @ 17364:7524d97ae56f

stdalign: port to stricter ISO C11 ISO C11 says that _Alignof's operand must be a parenthesized type. Problem reported by Eli Zaretskii in <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00960.html>. * doc/posix-headers/stdalign.texi (stdalign.h): Document this. * m4/stdalign.m4 (gl_STDALIGN_H): Don't use _Alignof (expr).
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 29 Mar 2013 19:47:13 -0700
parents 355e63498252
children 41c2fed9d7a1
line wrap: on
line source

Description:
Return current time, with nanosecond resolution.

Files:
lib/gettime.c
m4/gettime.m4

Depends-on:
clock-time
gettimeofday
sys_time
timespec
extensions

configure.ac:
gl_GETTIME

Makefile.am:
lib_SOURCES += gettime.c

Include:
"timespec.h"

Link:
$(LIB_CLOCK_GETTIME)

License:
GPL

Maintainer:
Paul Eggert, Jim Meyering