PWB Extensions Help (ext.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
DelFile
                                             Up Contents Index Back
─────PWB Extensions─────────────────────────────────────────────────────────
 
  Syntax:  void DelFile( PFILE pfFile );
 
  See:     RemoveFile, Using Files
 
     DelFile deletes the contents of the open file buffer <pfFile> by
     deleting all the lines in the buffer.
 
     NOTE: DelFile does not delete the file from disk or remove the file
           from the PWB list of open files. It only clears the contents
           of the internal file buffer. To delete a file from disk, an
           extension must call the operating system directly.
                                    -♦-