Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cpu_get_rad(3) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

numa_intro(3)

numa_types(4)

cpu_get_rad(3)  —  Subroutines

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

cpuIdentifies 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 argument. 

RETURN VALUES

The cpu_get_rad() function returns the following values:

RAD ID for cpu
Success.

−1Failure. 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:

[EINVAL]
The CPU identifier specified by cpu is invalid. 

SEE ALSO

Functions: numa_intro(3)

Files: numa_types(4)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026