Hi Leah,

Thank you for taking the time to review this.

> That will break current scripts using `getconf _NPROCESSORS_CONF`.
> From the man page, it's not clear to me if things there need
> underscores or not, but imo we should extend the script in a
> backward-compatible way.

I highly doubt anybody is relying on the constants from the reserved
namespace, as on most other systems, those are exposed directly.

For the names, the POSIX getconf additions from the page I linked
explains it:

“The names NPROCESSORS_CONF and NPROCESSORS_ONLN. The values of these
configuration variables shall be determined as if they were obtained by
calling the function sysconf() with the argument _SC_NPROCESSORS_CONF
or _SC_NPROCESSORS_ONLN, respectively.”

This would be added in the section “system_var: A name of a
configuration variable. All of the following variables
shall be supported:”

I nevertheless kept the previous underscored versions just in case,
I suppose that we could remove those after the POSIX release.

Cheers!

-- 
You received this message because you are subscribed to the Google Groups 
"voidlinux" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/voidlinux/20221106190558.26434-1-quinq%40fifth.space.

Reply via email to