1989-05-30 13:34:25 +00:00
|
|
|
/*
|
|
|
|
* remove.c - remove a file
|
|
|
|
*/
|
1994-06-24 14:02:31 +00:00
|
|
|
/* $Id$ */
|
1989-05-30 13:34:25 +00:00
|
|
|
|
2007-04-21 23:18:14 +00:00
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <unistd.h>
|
1989-05-30 13:34:25 +00:00
|
|
|
|
2018-06-23 17:18:16 +00:00
|
|
|
#if ACKCONF_WANT_EMULATED_REMOVE
|
|
|
|
|
2018-06-21 20:33:47 +00:00
|
|
|
int remove(const char* filename)
|
|
|
|
{
|
2007-04-21 23:18:14 +00:00
|
|
|
return unlink(filename);
|
1989-05-30 13:34:25 +00:00
|
|
|
}
|
2018-06-23 17:18:16 +00:00
|
|
|
|
|
|
|
#endif
|