Bug#364966: glibc-doc: st_atime_usec field only for hurd
Package: glibc-doc
Version: 2.3.6-5
Severity: normal
The "Attribute Meanings" and "File Times" nodes describe microsecond
st_atime_usec etc fields for the stat structure, but it seems they're
not provided on a gnu/linux system (judging by the little program
below failing to compile).
It'd be good if those bits of description could be qualified as gnu
extensions, or hurd-specific, or hurd plus bsd, or whatever, so you
know not to expect them always available.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i586)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15-1-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
-- no debconf information
#define _GNU_SOURCE
#include <stdio.h>
#include <sys/stat.h>
int
main (void)
{
struct stat st;
stat ("/tmp", &st);
printf ("%ld\n", st.st_atime_usec);
return 0;
}
Reply to: