BUS_GENERIC_READ_IVAR(9)
okay bestie, we're in the Kernel Developer's Manual today and the page is BUS_GENERIC_READ_IVAR(9) β plus its sibling BUS_GENERIC_WRITE_IVAR β and honestly? It's the shortest read ever. Let's go π
β¨ NAME β¨
bus_generic_read_ivar, bus_generic_write_ivar β the generic implementation of BUS_READ_IVAR and BUS_WRITE_IVAR for buses π
πΈ SYNOPSIS πΈ
#include <sys/param.h>
#include <sys/bus.h>
int
bus_generic_read_ivar(device_t dev, device_t child, int index,
uintptr_t *result);
int
bus_generic_write_ivar(device_t dev, device_t child, int index,
uintptr_t value);
π¦ DESCRIPTION π¦
Okay so this is going to be the fastest description section you've ever read in your life, no cap:
These functions simply return ENOENT.
That's it. That's the whole vibe. They don't read anything, they don't write anything, they just hand you ENOENT and go about their day π Likeβ¦ iconic? Unbothered? Main character energy fr fr.
bus_generic_read_ivar takes dev, child, index and a uintptr_t *result, bus_generic_write_ivar takes dev, child, index and a uintptr_t value β and both of them return ENOENT regardless. Periodt.
not me expecting lore and getting ENOENT π bestie this is literally the whole function
π₯ SEE ALSO π₯
go read those if you want actual substance, iykyk π«Ά
π AUTHORS π
This manual page was written by Doug Rabson. Shoutout Doug, king behaviour πβ
and that's the whole page, bestie β no crumbs left behind π This was the BUS_GENERIC_READ_IVAR(9) page from the Kernel Developer's Manual, Debian flavoured, dated January 15, 2017. mwah ππ§π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 1998 Doug Rabson
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms