bitncmp: update comment to match code behaviour

This commit is contained in:
David Drysdale 2015-10-06 15:09:22 +01:00
parent de04975c48
commit e2c4b6f36c
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
* bitncmp(l, r, n) * bitncmp(l, r, n)
* compare bit masks l and r, for n bits. * compare bit masks l and r, for n bits.
* return: * return:
* -1, 1, or 0 in the libc tradition. * <0, >0, or 0 in the libc tradition.
* note: * note:
* network byte order assumed. this means 192.5.5.240/28 has * network byte order assumed. this means 192.5.5.240/28 has
* 0x11110000 in its fourth octet. * 0x11110000 in its fourth octet.