tail head cat sleep
QR code linking to this page

Manual Pages  — DEVICE_PRINTF

NAME

device_printf – formatted output conversion

CONTENTS

SYNOPSIS

#include <sys/param.h>
#include <sys/bus.h>

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

DESCRIPTION

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.

SEE ALSO

printf(3), printf(9)

DEVICE_PRINTF (9) April 21, 2003

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

A UNIX saleslady, Lenore,
Enjoys work, but she likes the beach more.
She found a good way
To combine work and play:
She sells C shells by the seashore.