serial_test.c revision f9efe0ad50a42af83a01b562c7f186a1f741e097
#include <stdio.h>
#include <stdlib.h>
int
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));
}
exit (0);
}