Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, Using C++ Builder, I can retrieve the date of a file with a function called "getftime". I was wondering, how to do this in Linux/C++ (Ubuntu/g++). Thank you, Michel...
  1. #1
    mvl
    mvl is offline
    Just Joined!
    Join Date
    Jun 2008
    Posts
    2

    How to get the date of a file

    Hi,

    Using C++ Builder, I can retrieve the date of a file with a function called "getftime".
    I was wondering, how to do this in Linux/C++ (Ubuntu/g++).

    Thank you,
    Michel

  2. #2
    Linux Enthusiast gerard4143's Avatar
    Join Date
    Dec 2007
    Location
    Canada, Prince Edward Island
    Posts
    714
    try info on fstat, or stat, or lstat

  3. #3
    mvl
    mvl is offline
    Just Joined!
    Join Date
    Jun 2008
    Posts
    2
    Yes, that works. Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...