Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DEVICE_PRINTF(9)	    Kernel Developer's Manual		DEVICE_PRINTF(9)

NAME
     device_printf -- formatted output conversion

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  re-
     maining arguments to it.

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

SEE ALSO
     printf(3), printf(9)

FreeBSD ports 15.quarterly	 April 21, 2003 		DEVICE_PRINTF(9)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=device_printf&sektion=9&manpath=FreeBSD+15.1-RELEASE+and+Ports.quarterly>

home | help