pvm_parent(3) - Linux man page

Name

pvm_parent - Returns the tid of the process that spawned the calling process.

Synopsis

C    int tid = pvm_parent( void )

Fortran    call pvmfparent( tid )

Parameters

tid
Integer returns the task identifier of the parent of the calling process. If the calling process was not created with pvm_spawn, then tid = PvmNoParent.

Description

The routine pvm_parent returns the tid of the process that spawned the calling process. If the calling process was not created with pvm_spawn, then tid is set to PvmNoParent.

Examples

C:
    tid = pvm_parent();

Fortran:
    CALL PVMFPARENT( TID )

Errors

This error condition can be returned by pvm_parent.
PvmNoParent
The calling process was not created with pvm_spawn.
PvmSysErr
Can't contact local pvmd.

See Also