skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

unlink_void.c (179B)


      1 /* ISC license. */
      2 
      3 #include <unistd.h>
      4 #include <errno.h>
      5 #include <skalibs/posixplz.h>
      6 
      7 void unlink_void (char const *file)
      8 {
      9   int e = errno ;
     10   unlink(file) ;
     11   errno = e ;
     12 }