unlink.c 177 B

123456789
  1. #include <stdio.h>
  2. #include <vat.h>
  3. __ATTR_LIB_C__ short unlink(const char *fname)
  4. {
  5. char sym[50],*sptr=sym;
  6. *sptr=0; while((*++sptr=*fname++));
  7. return SymDel(sptr)-1;
  8. }