Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
PARENT(3PVM)			PVM Version 3.4			  PARENT(3PVM)

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	 call-
	       ing  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
				30 August, 1993			  PARENT(3PVM)

NAME | SYNOPSIS | PARAMETERS | DESCRIPTION | EXAMPLES | ERRORS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=pvm_parent&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help