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
Get the PID and ND from a RCVID
pid_t PtGetRcvidPid( int rcvid,
int *nd );
- 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.
ph
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.
The PID on success or:
- EREMOTE
- The rcvid is from a remote process, but you passed NULL for nd.
- -1
- an error occurred.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
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