ip4_fmtu32.c (198B)
1 /* ISC license. */ 2 3 #include <skalibs/uint32.h> 4 #include <skalibs/fmtscan.h> 5 6 size_t ip4_fmtu32 (char *s, uint32_t ip) 7 { 8 char pack[4] ; 9 uint32_pack_big(pack, ip) ; 10 return ip4_fmt(s, pack) ; 11 }
skalibsMirror/fork of https://skarnet.org/software/skalibs/ | |
git clone https://ccx.te2000.cz/git/skalibs | |
Log | Files | Refs | README | LICENSE |