DEVICE_GET_FLAGS(9)
πΈ NAME πΈ
Okay bestie, welcome to the DEVICE_GET_FLAGS(9) page β yes, it's giving Kernel Developer's Manual energy β¨
device_set_flags, device_get_flags β manipulate driver flags π
π SYNOPSIS π
#include <sys/param.h>
#include <sys/bus.h>
void
device_set_flags(device_t dev, uint32_t flags);
uint32_t
device_get_flags(device_t dev);
π¦ DESCRIPTION π¦
So, every device supports a set of driver-dependent flags, and those flags are often used to control device behaviour π No cap.
You read these flags by calling device_get_flags() and you write them by calling device_set_flags() β that's the whole vibe check, literally π«Ά
π₯ SEE ALSO π₯
device(9)β go peek at this one too, bestie π
π AUTHORS π
This manual page was written by Doug Rabson β iconic behaviour, honestly π
This cutie comes from Debian, dated September 6, 1999, and it's the DEVICE_GET_FLAGS(9) page β mwah π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 1999 Doug Rabson
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms