DEVICE_GET_FLAGS(9)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1, nixpkgs unstable

🌸 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