hwlocality_api_version(3)
hey bestie, welcome to hwlocality_api_version(3) from the Library Functions Manual β the page all about API version, and yes it's short but it's still serving iconic version-check realness. π¦
πΈ NAME πΈ
hwlocality_api_version β API version. That's the whole name, and we're already slaying. β¨
π SYNOPSIS π
Okay so there are two little groups here: macros and a function. No cap.
π Macros
#define HWLOC_API_VERSION 0x00020c00
#define HWLOC_COMPONENT_ABI 7
π Functions
unsigned hwloc_get_api_version (void)
π Detailed Description π
This section is literally just a heading in the original β there's no extra prose under it. The actual deets live in the macro and function docs right below, lowkey efficient, highkey iconic. π
π Macro Definition Documentation π
β¨ #define HWLOC_API_VERSION 0x00020c00 β¨
Indicate at build time which hwloc API version is being used. This number is updated to (X<<16)+(Y<<8)+Z when a new release X.Y.Z actually modifies the API. π
Users may check for available features at build time using this number (see How do I handle API changes?).
Note, bestie: This should not be confused withHWLOC_VERSION, the library version. Two stable releases of the same series usually have the sameHWLOC_API_VERSIONeven if theirHWLOC_VERSIONare different. Do not mix them up, or the vibe check will fail. π
β¨ #define HWLOC_COMPONENT_ABI 7 β¨
Current component and plugin ABI version (see hwloc/plugins.h). That's the whole tea. π
π₯ Function Documentation π₯
π unsigned hwloc_get_api_version (void ) π
Indicate at runtime which hwloc API version was used at build time. Should be HWLOC_API_VERSION if running on the same version.
Returns: the build-time version number. π«Ά
πΈ Author πΈ
Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code. So no human author to tag here, bestie β the robots did this one. π€
Footer sign-off, because we finish what we start: Hardware Locality (hwloc) β Version 2.15.0 β hwlocality_api_version(3). Date: the footer did not include one, so I'm not inventing a date, periodt. ππ
π¦ where this page comes from
- arch rolling: hwloc 2.15.0-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms