public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* CPU_SET(3): type of first argument (cpu)
@ 2022-09-15 14:29 Alex Colomar
  0 siblings, 0 replies; only message in thread
From: Alex Colomar @ 2022-09-15 14:29 UTC (permalink / raw)
  To: libc-alpha


[-- Attachment #1.1: Type: text/plain, Size: 309 bytes --]

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/>

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-15 14:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-15 14:29 CPU_SET(3): type of first argument (cpu) Alex Colomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).