MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers                      ddigetpid(9F)



NAME
     ddigetpid - returns the process ID

SYNOPSIS
     #include 
     #include 
     #include 



     pidt ddigetpid(void);


INTERFACE LEVEL
     Solaris DI specific (Solaris DI).

DESCRIPTION
     ddigetpid() obtains the process ID of the current process.
     This  value  can  be  used to allow only a select process to
     perform a certain operation. It can also be used  to  deter-
     mine  whether  a  device context belongs to the current pro-
     cess.

RETURN VALUES
     ddigetpid() returns the process ID.

CONTEXT
      This routine can be called from user context only.

SEE ALSO
     drvgetparm(9F)


     Writing Device Drivers


      STREAMS Programming Guide


















SunOS 5.11          Last change: 18 Feb 1998                    1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™