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

개요

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

ddi_get_pid(9f)

ddi_get_pid(9F)                Kernel Functions                ddi_get_pid(9F)



NAME
       ddi_get_pid - returns the process ID

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

       pid_t ddi_get_pid(void);

INTERFACE LEVEL
       Solaris DDI specific (Solaris DDI).

DESCRIPTION
       ddi_get_pid() obtains the process ID of the current process. This value
       can be used to allow only a select process to perform a certain  opera‐
       tion. It can also be used to determine whether a device context belongs
       to the current process.

RETURN VALUES
       ddi_get_pid() returns the process ID.

CONTEXT
        This routine can be called from user context only.

SEE ALSO
       drv_getparm(9F)


       Writing Device Drivers in Oracle Solaris 11.4


         STREAMS Programming Guide



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