cpu_get_rad(3) Library Functions Manual cpu_get_rad(3)
NAME
cpu_get_rad - Queries the RAD associated with a CPU (libnuma library)
SYNOPSIS
#include <numa.h>
radid_t cpu_get_rad(
cpuid_t cpu );
PARAMETERS
Identifies the CPU for which the associated RAD is requested.
DESCRIPTION
The cpu_get_rad() function returns the identifier of the Resource Affinity Domain (RAD) associated with the CPU specified by the cpu argu-
ment.
RETURN VALUES
The cpu_get_rad() function returns the following values: Success. Failure. In this case, errno is set to indicate the error.
ERRORS
If the cpu_get_rad() function fails, it sets errno to the following value: The CPU identifier specified by cpu is invalid.
SEE ALSO
Functions: numa_intro(3)
Files: numa_types(4)
cpu_get_rad(3)