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

Re: Reading directories and files



 Rajeev Rao molested the spacetime to project in our dimension:
> I've checked the man pages, but I couldn't understand them. They talk about 
> two different structures, DIR and dirent. I'm not certain if I can, or how I 
> can extract the names from these structures.(The functions return pointers 
> to these structures
Try man 3 readdir, the definition of struct dirent is given with the man page
of readdir.

-- 

   "That's the problem with nature, something's always stinging you
   or oozing mucous all over you. Let's go and watch TV."
              --- Calvin