Re:C Strings and my slow descent to madness
by jstimpfle on Thursday April 06, 2023 @10:02AM
(#35468428)
cmp stands for compare, so the behaviour (returns <0, 0, or >0) is completely reasonable. With three possible outcomes, the function is suitable to be used for sorting.
[ Parent
| on HN ]
There are no comments on this comment yet.