Bug or misdocumented feature in pthread_setaffinity_np.3
Samuel Thibault
samuel.thibault@ens-lyon.org
Mon Sep 7 09:21:07 GMT 2020
Hello,
Alejandro Colomar via Libc-alpha, le lun. 07 sept. 2020 11:00:05 +0200, a ecrit:
> Or is it that those functions return an error code that corresponds to a
> valid `errno` error number? In that case it could be documented better
> IMHO.
>
> If that is the case, do those functions set `errno` and also return that
> same `errno` value redundantly?
All pthread functions return E* values on errors, and do not touch
errno.
Samuel
More information about the Libc-alpha
mailing list