ddi_get_pid man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

ddi_get_pid(9F)		 Kernel Functions for Drivers	       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

	STREAMS Programming Guide

SunOS 5.11			  18 Feb 1998		       ddi_get_pid(9F)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net