Author Topic: 'a last accessed time' (i_atime) of file F  (Read 1841 times)

0 Members and 1 Guest are viewing this topic.

Offline winaiw

  • Jr. Member
  • **
  • Posts: 4
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
'a last accessed time' (i_atime) of file F
« on: December 23, 2013, 05:32:42 am »
HI, 

when a Linux process P accesses a file F.  A 'struct file' structure represents file F as an opened file, which is opened by process P.
 Could you please let me know that if I want to know 'a last accessed time' (i_atime) of file F,  my question is that the last accessed time of file F will be in:

1-struct path     f_path;  or

2-struct inode   *f_inode;     

I have some reasons to write a  program to get the last accessed time of file F.

Best,

Winai

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal