On 12 Feb 2007 10:01:24 GMT, Miquel van Smoorenburg <[EMAIL PROTECTED]>
Check out /usr/include/bits/stat.h
Mike,
Thanks for the pointer. Got it. But as I mentioned to Andi, it doesn't
work with my filesystems (ext2, reiserfs). But at least it save me
from upgrading my glibc!
Thanks,
Jeff.
-
On 2/12/07, Andi Kleen <[EMAIL PROTECTED]> wrote:
It should be always available in padding, even on older glibc. Given a
sufficiently
new kernel. The bigger problem is getting a file system that supports it.
Manpages are often outdated.
Andi,
Ok, found it. Thanks. You're right. ext2, reiserf
In article <[EMAIL PROTECTED]>,
Jeff Chua <[EMAIL PROTECTED]> wrote:
>On 12 Feb 2007 10:02:28 +0100, Andi Kleen <[EMAIL PROTECTED]> wrote:
>
>> > stat() returns time in seconds,
>>
>> Not correct (at least for glibc stat). It supports nanoseconds these days,
>> although not all file systems (includ
On Monday 12 February 2007 10:52, Jeff Chua wrote:
> On 12 Feb 2007 10:02:28 +0100, Andi Kleen <[EMAIL PROTECTED]> 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
On 12 Feb 2007 10:02:28 +0100, Andi Kleen <[EMAIL PROTECTED]> 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
On 2/12/07, Arjan van de Ven <[EMAIL PROTECTED]> wrote:
see the "utimes()" function
Arjan,
I checked the man page, and it says ...
utime, utimes - change access and/or modification times of an inode
I just want to "read" the access time, and not changing it.
Thanks,
Jeff.
-
To unsubscribe
"Jeff Chua" <[EMAIL PROTECTED]> writes:
> Is it possible to get file access time in millisecond resolution?
>
> 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.
Some of the old stat
On Mon, 2007-02-12 at 15:27 +0800, Jeff Chua wrote:
> Is it possible to get file access time in millisecond resolution?
>
> stat() returns time in seconds, but gettimeofday() can returns microseconds.
see the "utimes()" function
-
To unsubscribe from this list: send the line "unsubscribe linux-
Is it possible to get file access time in millisecond resolution?
stat() returns time in seconds, but gettimeofday() can returns microseconds.
Thanks,
Jeff.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo inf
9 matches
Mail list logo