LKML Archive on
help / color / mirror / Atom feed
From: "Miquel van Smoorenburg" <>
Subject: Re: [QUESTION] file access time in millisecond?
Date: 12 Feb 2007 10:01:24 GMT	[thread overview]
Message-ID: <45d03af4$0$326$> (raw)
In-Reply-To: <>

In article <>,
Jeff Chua <> wrote:
>On 12 Feb 2007 10:02:28 +0100, Andi Kleen <> wrote:
>> > stat() returns time in seconds,
>> Not correct (at least for glibc stat). It supports nanoseconds these days,
>> although not all file systems (including ext3) do yet.
>I'm using gcc-3.4.5, and glibc-2.3.6. Don't think 2.3.6 stat() support
>that ... at least the man page doesn't indicate so.

Check out /usr/include/bits/stat.h

My glibc-2.3.2 (debian stable) has the nanoseconds stuff right there,
even though it isn't mentioned in the stat.2 manpage or the info pages.


  parent reply	other threads:[~2007-02-12 10:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-12  7:27 Jeff Chua
2007-02-12  8:01 ` Arjan van de Ven
2007-02-12  9:24   ` Jeff Chua
2007-02-12  9:02 ` Andi Kleen
2007-02-12  9:52   ` Jeff Chua
2007-02-12  9:56     ` Andi Kleen
2007-02-12 18:55       ` Jeff Chua
2007-02-12 10:01     ` Miquel van Smoorenburg [this message]
2007-02-12 18:58       ` Jeff Chua

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='45d03af4$0$326$' \ \ \
    --subject='Re: [QUESTION] file access time in millisecond?' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).