Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933075AbXBLIBF (ORCPT ); Mon, 12 Feb 2007 03:01:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933088AbXBLIBF (ORCPT ); Mon, 12 Feb 2007 03:01:05 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:39873 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933075AbXBLIBE (ORCPT ); Mon, 12 Feb 2007 03:01:04 -0500 Subject: Re: [QUESTION] file access time in millisecond? From: Arjan van de Ven To: Jeff Chua Cc: lkml In-Reply-To: References: Content-Type: text/plain Organization: Intel International BV Date: Mon, 12 Feb 2007 09:01:00 +0100 Message-Id: <1171267260.3081.32.camel@laptopd505.fenrus.org> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2.1 (2.8.2.1-3.fc6) Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 477 Lines: 13 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-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/