[-snip-] > answer for me. I want to check all the files in a particular > folder (Linux server) and read their 'last modified' dates. > I know that Linux tells you, I'm sure that any decent OS would, > but I don't know if there is a library function that does this > already. If not, could someone tell me how to go about doing > this myself? [-snip-] I believe the function you're looking for is called stat(). The man page for it should provide all the information you need on its usage. CircleMUD uses it in at least one or two places, I think. If you need further assistance with it, email me off the list and I'll try to help out. -Geoff -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | | Newbie List: http://groups.yahoo.com/group/circle-newbies/ | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT