*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> f90/pxfgetppid (3)              
Title
Content
Arch
Section
 

Contents


PXFGETPPID(3F)					       Last changed: 1-6-98

NAME    [Toc]    [Back]

     PXFGETPPID	- Gets the parent process ID

SYNOPSIS    [Toc]    [Back]

     SUBROUTINE	PXFGETPPID (ipid, ierror)
     INTEGER ipid, ierror

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     IEEE standard interface for FORTRAN 77

DESCRIPTION    [Toc]    [Back]

     On	IRIX systems, this routine is in libfortran.so which is	linked by
     default when compiling programs with the MIPSpro 7	Fortran	90 compiler
     or	when compiling programs	with the -craylibs option to the MIPSpro
     7.2 F77 compiler.

     The PXFGETPPID subroutine uses the	getppid(2) system call to find the
     parent process ID.

     When using	the CF90 compiler or MIPSpro 7 Fortran 90 compiler on
     UNICOS, UNICOS/mk,	or IRIX	systems, all arguments must be of default
     kind unless documented otherwise.	On UNICOS and UNICOS/mk, default
     kind is KIND=8 for	integer, real, complex,	and logical arguments; on
     IRIX, the default kind is KIND=4.

     The following is a	list of	valid arguments	for this routine:

     ipid      An output integer variable that contains	the parent process
	       ID of the current process.

     ierror    An output integer variable that contains	a status of zero if
	       the process ID was successfully acquired.

EXAMPLES    [Toc]    [Back]

     In	this example, PXFGETPPID returns the current process' parent
     process ID.

	  program pxftest
	  integer ipid,	ierror
	  CALL PXFGETPPID(ipid,	ierror)
	  if (ierror .eq. 0) then
	     print *,'pid = ',ipid
	  else
	     print *,'error = ',ierror
	  endif
	  end

SEE ALSO    [Toc]    [Back]

      
      
     getppid(2)

     Application Programmer's Library Reference	Manual,	publication SR2165,
 for the printed version of this man page.

PXFGETPPID(3F)					       Last changed: 1-6-98

NAME    [Toc]    [Back]

     PXFGETPPID	- Gets the parent process ID

SYNOPSIS    [Toc]    [Back]

     SUBROUTINE	PXFGETPPID (ipid, ierror)
     INTEGER ipid, ierror

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     IEEE standard interface for FORTRAN 77

DESCRIPTION    [Toc]    [Back]

     On	IRIX systems, this routine is in libfortran.so which is	linked by
     default when compiling programs with the MIPSpro 7	Fortran	90 compiler
     or	when compiling programs	with the -craylibs option to the MIPSpro
     7.2 F77 compiler.

     The PXFGETPPID subroutine uses the	getppid(2) system call to find the
     parent process ID.

     When using	the CF90 compiler or MIPSpro 7 Fortran 90 compiler on
     UNICOS, UNICOS/mk,	or IRIX	systems, all arguments must be of default
     kind unless documented otherwise.	On UNICOS and UNICOS/mk, default
     kind is KIND=8 for	integer, real, complex,	and logical arguments; on
     IRIX, the default kind is KIND=4.

     The following is a	list of	valid arguments	for this routine:

     ipid      An output integer variable that contains	the parent process
	       ID of the current process.

     ierror    An output integer variable that contains	a status of zero if
	       the process ID was successfully acquired.

EXAMPLES    [Toc]    [Back]

     In	this example, PXFGETPPID returns the current process' parent
     process ID.

	  program pxftest
	  integer ipid,	ierror
	  CALL PXFGETPPID(ipid,	ierror)
	  if (ierror .eq. 0) then
	     print *,'pid = ',ipid
	  else
	     print *,'error = ',ierror
	  endif
	  end

SEE ALSO    [Toc]    [Back]

      
      
     getppid(2)

     Application Programmer's Library Reference	Manual,	publication SR2165,
 for the printed version of this man page.

[ Back ]
 Similar pages
Name OS Title
getppid HP-UX get process, process group and parent process ID.
getppid Tru64 Get the process ID, process group ID, or parent process ID
getpgrp2 HP-UX get process, process group and parent process ID.
getpid IRIX get process, process group, and parent process IDs
getpgrp Tru64 Get the process ID, process group ID, or parent process ID
getpid HP-UX get process, process group and parent process ID.
getpid Tru64 Get the process ID, process group ID, or parent process ID
getpgrp HP-UX get process, process group and parent process ID.
getpgid HP-UX get process, process group and parent process ID.
getpid NetBSD get parent or calling process identification
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service