sys_stat: guarantee struct timespec
authorEric Blake <ebb9@byu.net>
Mon, 12 Oct 2009 16:36:33 +0000 (10:36 -0600)
committerEric Blake <ebb9@byu.net>
Tue, 13 Oct 2009 02:38:51 +0000 (20:38 -0600)
commit4754ac9d681d36e16e92a1b08efb1d334d7b3829
treece843fa2a90299b04f4dd43bd139ccd0f3881360
parent959d9cb463d992f9c5cc2fbeb54bf12eee2346f7
sys_stat: guarantee struct timespec

* lib/sys_stat.in.h (includes): Always include <time.h>
* modules/sys_stat (Depends-on): Add time.
* tests/test-sys_stat.c: Guarantee struct timespec, as well as
mode_t permission values.
* doc/posix-headers/sys_stat.texi (sys/stat.h): Document how to
get at subsecond timestamps.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
doc/posix-headers/sys_stat.texi
lib/sys_stat.in.h
modules/sys_stat
tests/test-sys_stat.c