home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / unix / unixlib_1 / !UnixLib37_src_stdio_c_remove < prev    next >
Encoding:
C/C++ Source or Header  |  1996-11-09  |  777 b   |  31 lines

  1. /****************************************************************************
  2.  *
  3.  * $Source: /unixb/home/unixlib/source/unixlib37/src/stdio/c/RCS/remove,v $
  4.  * $Date: 1996/05/06 09:01:34 $
  5.  * $Revision: 1.2 $
  6.  * $State: Rel $
  7.  * $Author: unixlib $
  8.  *
  9.  * $Log: remove,v $
  10.  * Revision 1.2  1996/05/06 09:01:34  unixlib
  11.  * Updates to sources made by Nick Burrett, Peter Burwood and Simon Callan.
  12.  * Saved for 3.7a release.
  13.  *
  14.  * Revision 1.1  1996/04/19 21:32:42  simon
  15.  * Initial revision
  16.  *
  17.  ***************************************************************************/
  18.  
  19. static const char rcs_id[] = "$Id: remove,v 1.2 1996/05/06 09:01:34 unixlib Rel $";
  20.  
  21. #include <stdio.h>
  22. #include <unistd.h>
  23.  
  24. __STDIOLIB__
  25.  
  26. int
  27. remove (const char *file)
  28. {
  29.   return (unlink ((char *) file));
  30. }
  31.