logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

device_printf — formatted output conversion

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.

Name

       device_printf — formatted output conversion

Return Values

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

See Also

printf(3), printf(9)

Debian                                           April 21, 2003                                 DEVICE_PRINTF(9)

Synopsis

#include<sys/param.h>#include<sys/bus.h>intdevice_printf(device_tdev, constchar*fmt, ...);

See Also