[ILUG-BOM] Re: File Deletion

Manoj Srivastava srivasta@[EMAIL-PROTECTED]
Sun Jan 21 02:39:32 IST 2007


Hi,

        What you are looking for are POSIX functions:
 opendir - open a directory
 readdir - read a directory
 stat, fstat, lstat - get file status
 remove - delete a name and possibly the file it refers to
      unlink - remove a directory entry
      rmdir - remove a directory
 closedir - close a directory

        manoj
-- 
Diplomacy is to do and say, the nastiest thing in the nicest
way. Balfour
Manoj Srivastava <srivasta at acm.org> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C




More information about the Linuxers mailing list