Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-20-2008, 06:04 AM   #1
Registered: Feb 2006
Posts: 40

Rep: Reputation: 15
(solved) atime / access time -- how to read it? C/C++


I used google, but all I got was references to ls, find, etc. I didn't any function in C/C++ to read atime of the file.

I appreciate any help, thanks.


I get the answer already from polish linux-programming newsgroup (thank you Bartosz). lstat is the key.

have a nice day, bye

Last edited by me-macias; 01-20-2008 at 06:36 AM. Reason: Solution found
Old 01-20-2008, 07:29 AM   #2
LQ 5k Club
Registered: Oct 2003
Location: Australia
Distribution: Devuan
Posts: 5,476

Rep: Reputation: Disabled
I am glad you found stat....a reply to remove from zero posts


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
atime updates umailtonikhil *BSD 4 09-10-2007 07:57 AM
atime update information umailtonikhil Solaris / OpenSolaris 2 09-07-2007 10:08 AM
modify atime farslayer Linux - General 3 01-19-2007 12:27 PM
Does slackware have NTFS read/write access on first time use? Bomb187 Slackware 14 03-31-2004 08:08 PM
need multiple users to have read/write access to a Quickbooks file at the same time. rbelknap Linux - Security 2 10-14-2003 10:52 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration