We are using the opendir(), readdir(), and closedir() external
procedures. Once we read the directory entry we use _C_IFS_fopen,
_C_IFS_fget, and _C_IFS_fclose to read additional information about the
file. We are trying to get the attributes for the file such as create
date, modified date, and size.

Am I going in the wrong direction using the fget? What is the best way
get these file attributes


Check out stat and fstat. Just what you need, methinks.

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"I am an old man and have known a great many troubles, but most of them
never happened."
-- Mark Twain


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.