Any API to get file creation time

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zahidkhan
    New Member
    • Sep 2006
    • 22

    Any API to get file creation time

    Hi All,

    Any body has any idea abt this.
    I have to write a function which will take existing file name as an input parmeter
    and will return file creation time.
    I need to implement this function using C for windows/solaris system


    Thanks in advance.....
  • zahidkhan
    New Member
    • Sep 2006
    • 22

    #2
    Hi All I got the solution
    Use sys/stat.h
    int __cdecl _fstat(int, struct _stat *);

    Comment

    Working...