print man page on SunOS

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
SunOS logo
[printable version]

print(9E)		      Driver Entry Points		     print(9E)

NAME
       print - display a driver message on system console

SYNOPSIS
       #include <sys/types.h>
       #include <sys/errno.h>
       #include <sys/ddi.h>
       #include <sys/sunddi.h>

       int prefixprint(dev_t dev, char *str);

INTERFACE LEVEL
       Architecture  independent  level	 1  (DDI/DKI).	This  entry  point  is
       required for block devices.

PARAMETERS
       dev	Device number.

       str	Pointer to a character string describing the problem.

DESCRIPTION
       The 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) ker‐
       nel function. The driver should print the message along with any driver
       specific information.

RETURN VALUES
       The  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 ALSO
       cmn_err(9F)

       Writing Device Drivers

SunOS 5.10			  15 Sep 1992			     print(9E)
[top]

List of man pages available for SunOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net