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 >
Wrap
Text File
|
1987-10-04
|
384b
|
18 lines
#define NOCCARGC /* no arg count passing */
#include stdio.h
#include clib.def
/*
** Unlink (delete) the named file.
** Entry: fn = file name.
** May be prefixed by letter of drive.
** Returns NULL on success, else ERR.
*/
unlink(fn) char *fn; {
return(Umsdos(fn,0,0,DELFIL));
}
#asm
_delete equ _unlink
PUBLIC _delete
#endasm