strtol(3) setting of errno

Florian Weimer fweimer@redhat.com
Thu Nov 30 12:00:30 GMT 2023


* Alejandro Colomar:

> Now I realize that commit was probably wrong, and one needs to check
> both errno and the return value to determine that the call failed.  Can
> you please confirm what the correct specification of strtol(3) is?

The most detailed specification we have is the one that is in POSIX.

Thanks,
Florian



More information about the Libc-help mailing list