DEVICE_GET_NAME(9)
π DEVICE_GET_NAME(9) π
okay bestie, this page is DEVICE_GET_NAME(9) from the Kernel Developerβs Manual, and itβs literally about reading a deviceβs name. no cap π«Ά
πΈ NAME πΈ
device_get_name, device_get_nameunit β two little helpers for reading a deviceβs device-class name or its instance name. lowkey iconic β¨
β¨ SYNOPSIS β¨
#include <sys/param.h>
#include <sys/bus.h>
const char *
device_get_name(device_t dev);
const char *
device_get_nameunit(device_t dev);
π¦ DESCRIPTION π¦
okay so device_get_name() is the one that returns the name of the deviceβs device class. itβs giving class-name reveal π
device_get_nameunit() returns the name of the deviceβs instance. yes bestie, instance-name energy π
π SEE ALSO π
device(9)β go peek at this one too, iykyk π
π AUTHORS π
this manual page was written by Warner Losh. periodt π
mwah π«Ά this came from Debian, dated April 21, 2003 β bye bestie, go name those devices π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 2003 M. Warner Losh <imp@FreeBSD.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms