Module Name: src Committed By: dyoung Date: Fri Jan 21 17:51:20 UTC 2011
Modified Files: src/share/man/man9: kprintf.9 Log Message: Describe device_printf(9). XXX Need symbolic link device_printf.9 -> kprintf.9. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/share/man/man9/kprintf.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man9/kprintf.9 diff -u src/share/man/man9/kprintf.9:1.29 src/share/man/man9/kprintf.9:1.30 --- src/share/man/man9/kprintf.9:1.29 Wed Feb 17 22:04:14 2010 +++ src/share/man/man9/kprintf.9 Fri Jan 21 17:51:19 2011 @@ -1,6 +1,6 @@ -.\" $NetBSD: kprintf.9,v 1.29 2010/02/17 22:04:14 cnst Exp $ +.\" $NetBSD: kprintf.9,v 1.30 2011/01/21 17:51:19 dyoung Exp $ .\" -.\" Copyright (c) 1998, 2002, 2007 The NetBSD Foundation, Inc. +.\" Copyright (c) 1998, 2002, 2007, 2011 The NetBSD Foundation, Inc. .\" All rights reserved. .\" .\" This code is derived from software contributed to The NetBSD Foundation @@ -27,10 +27,11 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd September 4, 2009 +.Dd January 21, 2011 .Dt KPRINTF 9 .Os .Sh NAME +.Nm device_printf , .Nm printf , .Nm snprintf , .Nm vprintf , @@ -43,6 +44,8 @@ .Sh SYNOPSIS .In sys/systm.h .Ft void +.Fn "device_printf" "device_t" "const char *format" "..." +.Ft void .Fn "printf" "const char *format" "..." .Ft void .Fn "printf_nolog" "const char *format" "..." @@ -107,6 +110,12 @@ .Fn vprintf send formatted strings to the system console. The +.Fn device_printf +function is identical to +.Fn printf , +except that it prefixes the log message with the corresponding +device name. +The .Fn printf_nolog function is identical to .Fn printf ,