print(9e) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

print(9e)

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 prefix_print(dev_t dev, char *str);

INTERFACE LEVEL
       Architecture  independent  level  1  (DDI/DKI). This entry point is re‐
       quired 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 ex‐
       ceptional 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 er‐
       ror 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 in Oracle Solaris 11.4

Oracle Solaris 11.4            9 September 2024                      print(9E)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3