Query: print
OS: sunos
Section: 9e
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
print(9E) Driver Entry Points print(9E)NAMEprint - display a driver message on system consoleSYNOPSIS#include <sys/types.h> #include <sys/errno.h> #include <sys/ddi.h> #include <sys/sunddi.h> int prefixprint(dev_t dev, char *str);INTERFACE LEVELArchitecture independent level 1 (DDI/DKI). This entry point is required for block devices.PARAMETERSdev Device number. str Pointer to a character string describing the problem.DESCRIPTIONThe print() routine is called by the kernel when it has detected an exceptional condition (such as out of space) in the device. To display the message on the console, the driver should use the cmn_err(9F) kernel function. The driver should print the message along with any driver specific information.RETURN VALUESThe print() routine should return 0 for success, or the appropriate error number. The print routine can fail if the driver implemented a non-standard print() routine that attempted to perform error logging, but was unable to complete the logging for whatever reason.SEE ALSOcmn_err(9F) Writing Device Drivers SunOS 5.10 15 Sep 1992 print(9E)
Related Man Pages |
---|
print(9e) - sunos |
getmajor(9f) - sunos |
getmajor(9f) - php |
getmajor(9f) - linux |
getmajor(9f) - v7 |
Similar Topics in the Unix Linux Community |
---|
print or display certain number of file |
print first number in each line |
Error while trying to print message |
How to print string on screen according the fixed length? |
Uppercase word in PERL |