Return to inet_net_ntop.c CVS log | Up to [cvs.NetBSD.org] / src / lib / libc / inet |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.3, 2012/03/20 17:08:13 | version 1.4, 2017/05/09 02:56:44 | ||
---|---|---|---|
|
|
||
memset(inbuf + p, 0, 16 - p); | memset(inbuf + p, 0, 16 - p); | ||
b = bits % 8; | b = bits % 8; | ||
if (b != 0) { | if (b != 0) { | ||
m = ~0 << (8 - b); | m = ~0u << (8 - b); | ||
inbuf[p-1] &= m; | inbuf[p-1] &= m; | ||
} | } | ||