Download INTRO (9) NetBSD Kernel Developer`s Manual INTRO (9
Transcript
KPRINTF (9) NetBSD Kernel Developer’s Manual KPRINTF (9) struct ifnet ∗ respectively as first argument and prefix the log message with the corresponding device or interface name. The aprint_get_error_count() function reports the number of errors and resets the counter to 0. If AB_SILENT is set, none of the autoconfiguration message printing routines send output to the console. The AB_VERBOSE and AB_DEBUG flags override AB_SILENT. RETURN VALUES The snprintf() and vsnprintf() functions return the number of characters placed in the buffer buf. This is different to the user-space functions of the same name. The tprintf_open() function returns NULL if no terminal handle could be acquired. SEE ALSO printf(1), printf(3), bitmask_snprintf(9) CODE REFERENCES sys/kern/subr_prf.c HISTORY The sprintf() and vsprintf() unsized string formatting functions are supported for compatibility only, and are not documented here. New code should use the size-limited snprintf() and vsnprintf() functions instead. In NetBSD 1.5 and earlier, printf() supported more format strings than the user space printf(). These nonstandard format strings are no longer supported. For the functionality provided by the former %b format string, see bitmask_snprintf(9). The aprint_normal(), aprint_naive(), aprint_verbose(), and aprint_debug() functions first appeared in BSD/OS. BUGS The uprintf() and ttyprintf() functions should be used sparingly, if at all. Where multiple lines of output are required to reach a process’s controlling terminal, tprintf() is preferred. NetBSD 3.0 September 24, 2007 3
Related documents
Virtual Console FCD-CFxx System information
Core Networking Stack User's Guide:
Configuration File Management on EX Series
A File System Component Compiler
DSP4000 User Manual Rusty update 21Jan2012
Building TEX Live (2015)
GSX Server User`s Manual - Support On Line
IRIX® 6.3 for O2™ Device Driver Programming Guide
Help File (PDF: 583 KB)
as a PDF
KoreWifi - K-Team FTP area
KTelnet User Manual - Stacken