device_printf(9freebsd)

device_printf9freebsd

Formatted output conversion

Usage

#include <sys/param.h>

#include <sys/bus.h>

int

device_printf(device_t dev, const char *fmt, ...);

Overview

The device_printf() function is a convenience interface to the printf(9) function. 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.

Return values

The device_printf() function returns the number of characters displayed.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 6 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11–13

From freebsd-manpages 12.2-2 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.