alloc.c (124B)
1 /* ISC license. */ 2 3 #include <stdlib.h> 4 #include <skalibs/alloc.h> 5 6 void *alloc (size_t n) 7 { 8 return malloc(n ? n : 1) ; 9 }
skalibsMirror/fork of https://skarnet.org/software/skalibs/ | |
git clone https://ccx.te2000.cz/git/skalibs | |
Log | Files | Refs | README | LICENSE |