skalibs

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

munmap_void.c (193B)


      1 /* ISC license. */
      2 
      3 #include <sys/mman.h>
      4 #include <errno.h>
      5 
      6 #include <skalibs/posixplz.h>
      7 
      8 void munmap_void (void *addr, size_t len)
      9 {
     10   int e = errno ;
     11   munmap(addr, len) ;
     12   errno = e ;
     13 }