Reference

hwloc_linux_read_path_as_cpumask(3) on Linux

The text 81dc23d294ea, as Debian 12 (Bookworm) shipped it.

Linux-specific helpers

hwloc_linux_read_path_as_cpumask(3) on Linux now