strcmp
falsely claims it returns a 0, 1 or -1
#3629
Labels
bug
Documentation contains incorrect information
strcmp
falsely claims it returns a 0, 1 or -1
#3629
The docs for
strcmp
say:Problems:
I believe the intended logic here is:
Whatever the logic, it seems like it does not return very predicable results other than being contrasted to 0. Here are some interesting return values: https://3v4l.org/FN86s
The text was updated successfully, but these errors were encountered: