hwlocality..._reporting(3)
This is the Library Functions Manual page for hwlocality..._reporting(3), aka the one about API error reporting β and bestie, itβs short but important. π
π NAME π
hwlocality_api_error_reporting β Error reporting in the API β¨
β¨ SYNOPSIS β¨
πΈ Detailed Description πΈ
Okay so most functions in the hwloc API return an integer value. Unless the docs for a specific function say otherwise, they return 0 on success and -1 on error. Functions that return a pointer type return NULL on error. No cap. π«Ά
errno will be set to a meaningful value whenever possible. That includes the usual EINVAL when invalid function parameters are passed or ENOMEM when an internal allocation fails. Some specific errno values are also used β for instance, for binding errors as documented in CPU binding. π
Some modules describe the return values of their functions in their introduction, for instance in The bitmap API. π¦
π Author π
Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code. π€π
And thatβs the footer tea, bestie: Hardware Locality (hwloc), Version 2.15.0, and hwlocality..._reporting(3) β no date shown in this pageβs footer, just those. Slay. πβ¨
π¦ 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