The OpenNET Project / Index page

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

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

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

makedevice (9)
  • >> makedevice (9) ( Solaris man: Ядро )
  •  

    NAME

    makedevice - make device number from major and minor numbers
     
    

    SYNOPSIS

    #include <sys/types.h>
    #include <sys/mkdev.h>
    #include <sys/ddi.h>
    
    
    
    dev_t makedevice(major_t majnum, minor_t minnum);
    

     

    INTERFACE LEVEL

    Architecture independent level 1 (DDI/DKI).  

    PARAMETERS

    majnum

    Major device number.

    minnum

    Minor device number.

     

    DESCRIPTION

    The makedevice() function creates a device number from a major and minor device number. makedevice() should be used to create device numbers so the driver will port easily to releases that treat device numbers differently.  

    RETURN VALUES

    The device number, containing both the major number and the minor number, is returned. No validation of the major or minor numbers is performed.  

    CONTEXT

    The makedevice() function can be called from user, interrupt, or kernel context.  

    SEE ALSO

    getmajor(9F), getminor(9F)


     

    Index

    NAME
    SYNOPSIS
    INTERFACE LEVEL
    PARAMETERS
    DESCRIPTION
    RETURN VALUES
    CONTEXT
    SEE ALSO


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




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

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