cdb_p.c (206B)
1 /* ISC license. */ 2 3 #include <skalibs/cdb.h> 4 #include "cdb-internal.h" 5 6 char const *cdb_p (cdb const *c, uint32_t len, uint32_t pos) 7 { 8 return pos <= c->size && len <= c->size - pos ? c->map + pos : 0 ; 9 }
skalibsMirror/fork of https://skarnet.org/software/skalibs/ | |
git clone https://ccx.te2000.cz/git/skalibs | |
Log | Files | Refs | README | LICENSE |