hwloc_obj_...dev_attr_s(3)
π¦ NAME π¦
hwloc_obj_attr_u::hwloc_osdev_attr_s β ok so real talk, this is a page from the Library Functions Manual for Hardware Locality (hwloc), and it's the struct that holds all the OS-device-specific attributes. Bestie, it's giving "one field but she's important" energy π
β¨ SYNOPSIS β¨
Lowkey the whole entry point is just this include, no cap:
#include <hwloc.h>
π Data Fields
hwloc_obj_osdev_type_t typeβ the one and only field, iykyk. It's the type of the OS device, and yes she has her own dedicated section further down because she's the main character π
π Detailed Description π
So what is this thing? It's the OS Device specific Object Attributes struct. That's literally the whole vibe β it hangs out inside the hwloc_obj_attr_u union and carries the attributes that only make sense for an OS device. Short, sweet, iconic. Periodt. π«Ά
π₯ Field Documentation π₯
π hwloc_obj_osdev_type_t hwloc_obj_attr_u::hwloc_osdev_attr_s::type
This is the fully-qualified name of the field, spelled out character for character: hwloc_obj_osdev_type_t is her type, hwloc_obj_attr_u is the union she lives in, hwloc_osdev_attr_s is the struct, and type is the member itself. Full government name, no nicknames π
π Author π
Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code. Not me writing fanfic β the robot did it π
Fr fr, don't @ me about missing options β this page genuinely just has the one field. That's the whole lore. π
Hardware Locality (hwloc) Β· Version 2.15.0 Β· hwloc_obj_...dev_attr_s(3) β mwah, that's a wrap, go read your structs bestie πβ¨ππ¦π
π¦ 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