Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptgetrcvidpidnd.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptgetrcvidpidnd.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptgetrcvidpidnd.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptgetrcvidpidnd.html on line 8

PtGetRcvidPidNd()

Get the PID and ND from a RCVID

Synopsis:

pid_t PtGetRcvidPid( int rcvid,
                     int *nd );

Arguments:

rcvid
The receive ID you want to get the PID and node descriptor from
nd
The address where the function stores the node descriptor associated with the rcvid. You can pass NULL, in which case the function will fail with EREMOTE if the rcvid is from a remote process.

Library:

ph

Description:

This function should be used to obtain the process ID (PID) and node descriptor (ND) from the receive ID (RCVID). It might be needed if a nonspecific input procedure attaches a specific input procedure.

Returns:

The PID on success or:

EREMOTE
The rcvid is from a remote process, but you passed NULL for nd.
-1
an error occurred.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtAppAddInput()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptgetrcvidpidnd.html on line 123

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptgetrcvidpidnd.html on line 123