*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> device_printf (9)              
Title
Content
Arch
Section
 

DEVICE_PRINTF(9)

Contents


NAME    [Toc]    [Back]

     device_printf -- formatted output conversion

SYNOPSIS    [Toc]    [Back]

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

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

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

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

SEE ALSO    [Toc]    [Back]

      
      
     printf(3), printf(9)


FreeBSD 5.2.1			April 21, 2003			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
tprintf NetBSD kernel formatted output conversion
kprintf NetBSD kernel formatted output conversion
printf NetBSD kernel formatted output conversion
sprintf NetBSD kernel formatted output conversion
vprintf NetBSD kernel formatted output conversion
tprintf_close NetBSD kernel formatted output conversion
tprintf_open NetBSD kernel formatted output conversion
ttyprintf NetBSD kernel formatted output conversion
vsprintf NetBSD kernel formatted output conversion
uprintf NetBSD kernel formatted output conversion
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service