getminor(9f) 맨 페이지 - 윈디하나의 솔라나라

개요

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

getminor(9f)

getminor(9F)                   Kernel Functions                   getminor(9F)



NAME
       getminor - get minor device number

SYNOPSIS
       #include <sys/types.h>
       #include <sys/mkdev.h>
       #include <sys/ddi.h>

       minor_t getminor(dev_t dev);

INTERFACE LEVEL
       Architecture independent level 1 (DDI/DKI).

PARAMETERS
       dev    Device number.


DESCRIPTION
       The getminor() function extracts the minor number from a device number.

RETURN VALUES
       The minor number.

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

EXAMPLES
       See the getmajor(9F) manual page for an example of how  to  use  getmi‐
       nor().

SEE ALSO
       getmajor(9F), makedevice(9F)


       Writing Device Drivers in Oracle Solaris 11.4

WARNINGS
       No validity checking is performed. If dev is invalid, an invalid number
       is returned.



Oracle Solaris 11.4               16 Jan 2006                     getminor(9F)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3