4 int cmd__strcmp_offset(int argc
, const char **argv
)
9 if (!argv
[1] || !argv
[2])
10 die("usage: %s <string1> <string2>", argv
[0]);
12 result
= strcmp_offset(argv
[1], argv
[2], &offset
);
15 * Because different CRTs behave differently, only rely on signs
16 * of the result values.
18 result
= (result
< 0 ? -1 :
21 printf("%d %"PRIuMAX
"\n", result
, (uintmax_t)offset
);