Query: ddi_get_pid
OS: sunos
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ddi_get_pid(9F) Kernel Functions for Drivers ddi_get_pid(9F)NAMEddi_get_pid - returns the process IDSYNOPSIS#include <sys/types.h> #include <sys/ddi.h> #include <sys/sunddi.h> pid_t ddi_get_pid(void);INTERFACE LEVELSolaris DDI specific (Solaris DDI).DESCRIPTIONddi_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 operation. It can also be used to determine whether a device context belongs to the current process.RETURN VALUESddi_get_pid() returns the process ID.CONTEXTThis routine can be called from user context only.SEE ALSOdrv_getparm(9F) Writing Device Drivers STREAMS Programming Guide SunOS 5.10 18 Feb 1998 ddi_get_pid(9F)
| Related Man Pages |
|---|
| drv_getparm(9f) - opensolaris |
| proc_unref(9f) - opensolaris |
| drv_getparm(9f) - centos |
| drv_getparm(9f) - posix |
| drv_getparm(9f) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| The 500 Mile Email |
| How do I remove or hide SunOS version/release from remote login prompt? |
| Using awk to remove lines from file that match text |
| Sort only numbers within a string |