The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

print (9)
  • print (1) ( Solaris man: Команды и прикладные программы пользовательского уровня )
  • >> print (9) ( Solaris man: Ядро )
  • Ключ print обнаружен в базе ключевых слов.
  •  

    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) kernel 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


     

    Index

    NAME
    SYNOPSIS
    INTERFACE LEVEL
    PARAMETERS
    DESCRIPTION
    RETURN VALUES
    SEE ALSO


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру