std: fix pthread_{get,set}name_np return type ABI

I believe this was accidentally broken when the E enum for errno values
was introduces. These functions are quite the special case in that they
return the error value directly rather than returning -1 and passing the
error value through the errno variable.

In any case, using a u16 as the return type at the ABI boundary where a
c_int is expected is asking for trouble.
a1777cb5cbIsaac Freund committed on 6/17/2024, 9:26:53 PMparent687a756
6 files changedLine totals unavailable