The OpenNET Project / Index page

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

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

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

minor (9)
  • >> minor (9) ( FreeBSD man: Ядро )

  • BSD mandoc
     

    NAME

    
    
    device_ids
    
     
    major
    
     
    minor
    
     
    umajor
    
     
    uminor
    
     - calculate device ids
    
     
    

    SYNOPSIS

       #include <sys/types.h>
       #include <sys/systm.h>
    int major (struct cdev *dev);
    int minor (struct cdev *dev);
    int umajor (dev_t id);
    int uminor (dev_t id);
     

    DESCRIPTION

    The family of functions take either the raw device ID, Fa id , or a pointer to the device structure, Fa dev , and return the integer value that is the major or minor device ID as requested.

    The actual major and minor device IDs are values masked from of the raw device ID. For details on the actual calculations used to determine the major or minor IDs see the actual source in kern_conf.c  

    RETURN VALUES

    An integer greater than zero and less than NUMCDEVSW major ();
    and minor ();
    will return NODEV if the device is invalid.  

    AUTHORS

    This manual page was written by An Chad David Aq davidc@acns.ab.ca .


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    AUTHORS


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




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

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