summaryrefslogtreecommitdiff
path: root/src/libposixplz/unlink_void.c
blob: 472bd6a3bd8115cff9b1370b536a7de8f87f08dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* ISC license. */

#include <unistd.h>
#include <errno.h>
#include <skalibs/posixplz.h>

void unlink_void (char const *file)
{
  int e = errno ;
  unlink(file) ;
  errno = e ;
}