DEVICE_PRINTF(9)
π NAME π
device_printf β formatted output conversion. This is the DEVICE_PRINTF(9) manual page, bestie, from the Kernel Developer's Manual. Iykyk. π
π οΈ SYNOPSIS π οΈ
#include <sys/param.h>
#include <sys/bus.h>
int
device_printf(device_t dev, const char *fmt, ...);
π DESCRIPTION π
Okay so device_printf() is literally a convenience interface to printf(9). No cap. It outputs the name of the dev device, followed by a colon and a space, and then what printf(9) would print if you passed fmt and the remaining arguments to it. Itβs giving βprintf, but the device name already walked in with main character energy.β Periodt. β¨
π RETURN VALUES π
device_printf() returns the number of characters displayed. Thatβs the whole vibe check, fr fr. π
π SEE ALSO π
π«Ά Cute sign-off: this is DEVICE_PRINTF(9) from Debian, dated April 21, 2003. Slay. π
π¦ 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