[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Reading directories and files



Hello,
  How does one contents of the current (or any) directory using C.
How can I traverse the directory tree from a C program.

If I locate a file in a given directory(after a random set of traversals) is there a way to obtain its absolute path in the form of a string?

How can one use fstat to know if a file is writeprotected to the respective user?



Rajeev

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.