CPU_SET(3): type of first argument (cpu)

Alex Colomar alx.manpages@gmail.com
Thu Sep 15 14:29:06 GMT 2022


Hi,

The documented type of CPU_SET is 'int', but it is really interpreted 
inside the macro as a size_t, AFAICS.  It is also used to access an 
array, so the size_t type makes more sense than int.  Should we maybe 
document it as a size_t?

Thanks,

Alex

-- 
<http://www.alejandro-colomar.es/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20220915/a33d3406/attachment-0001.sig>


More information about the Libc-alpha mailing list