serial_test.c revision 60650dd537ca5e2eda953914bf5715d5e8f8b872
#include <stdio.h>
main() {
isc_uint32_t a, b;
char buf[1024];
char *s, *e;
s = buf;
a = strtoul(s, &e, 0);
if (s == e)
continue;
s = e;
b = strtoul(s, &e, 0);
if (s == e)
continue;
a, b,
isc_serial_gt(a,b), isc_serial_lt(a,b),
isc_serial_ge(a,b), isc_serial_le(a,b),
isc_serial_eq(a,b), isc_serial_ne(a,b));
}
}