home *** CD-ROM | disk | FTP | other *** search
/ PDA Software Library / pdasoftwarelib.iso / PSION / COMMS / PSIONMAI / PMFULLSO / SUNMAIL / DATAFILE.C < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-04  |  527 b   |  23 lines

  1. #include <stdio.h>
  2. #include <string.h>
  3. #include "project.h"
  4. /* start of ancilary data file functions */
  5. /* delfile - physicaly delete the data file */
  6. delfile(llcur, llstart)
  7. struct ll * llcur,* llstart;
  8. {
  9.     char dfname[1024] ; ;
  10.     if (filedbg == TRUE)
  11.         printf("CALL: delfile (llcur = OMITTED, llstart = OMITTED)");
  12.     if (unlink(dfname) == 0)
  13.         return(TRUE) ;
  14.     else
  15.     {
  16.         printf("FILE ERROR: delfile, error in deleting file %s", dfname) ;
  17.         return(FILEERR) ;
  18.     }
  19. }
  20.  
  21. /* end of ancilary data file functions */
  22.  
  23.