home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / C / SMALL_C / UNLINK.C < prev    next >
Text File  |  1987-10-04  |  384b  |  18 lines

  1. #define NOCCARGC  /* no arg count passing */
  2. #include stdio.h
  3. #include clib.def
  4. /*
  5. ** Unlink (delete) the named file. 
  6. ** Entry: fn = file name.
  7. **             May be prefixed by letter of drive.
  8. ** Returns NULL on success, else ERR.
  9. */
  10. unlink(fn) char *fn; {
  11.   return(Umsdos(fn,0,0,DELFIL));
  12.   }
  13. #asm
  14. _delete  equ    _unlink
  15.         PUBLIC  _delete
  16. #endasm
  17.  
  18.