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

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

Contents


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

NAME    [Toc]    [Back]

     PXFGETPGRP	-Gets the process group	ID

SYNOPSIS    [Toc]    [Back]

     SUBROUTINE	PXFGETPGRP (ipgrp, ierror)
     INTEGER ipgrp, 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 PXFGETPGRP subroutine uses the	getpgrp(2) system call to return
     the process group ID of the calling process.

     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:

     ipgrp     An output integer variable that contain the process group ID
	       for 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, PXFGETPGRP will return the process group ID for the
     calling process.

	  program pxftest
	  integer ipgrp, ierror
	  CALL PXFGETPGRP(ipgrp, ierror)
	  if (ierror .eq. 0) then
	      print *,'pgrp = ',ipgrp
	  else
	      print *,'error = ', ierror
	  endif
	  end

SEE ALSO    [Toc]    [Back]

      
      
     getpgrp(2)

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

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

NAME    [Toc]    [Back]

     PXFGETPGRP	-Gets the process group	ID

SYNOPSIS    [Toc]    [Back]

     SUBROUTINE	PXFGETPGRP (ipgrp, ierror)
     INTEGER ipgrp, 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 PXFGETPGRP subroutine uses the	getpgrp(2) system call to return
     the process group ID of the calling process.

     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:

     ipgrp     An output integer variable that contain the process group ID
	       for 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, PXFGETPGRP will return the process group ID for the
     calling process.

	  program pxftest
	  integer ipgrp, ierror
	  CALL PXFGETPGRP(ipgrp, ierror)
	  if (ierror .eq. 0) then
	      print *,'pgrp = ',ipgrp
	  else
	      print *,'error = ', ierror
	  endif
	  end

SEE ALSO    [Toc]    [Back]

      
      
     getpgrp(2)

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

[ Back ]
 Similar pages
Name OS Title
nsg_detach_pid Tru64 Attaches a process to, or detaches a process from a NUMA Scheduling Group (libnuma library)
nsg_attach_pid Tru64 Attaches a process to, or detaches a process from a NUMA Scheduling Group (libnuma library)
pfind OpenBSD find process / process group by number
pgfind OpenBSD find process / process group by number
psignal FreeBSD post signal to a process or process group
gsignal FreeBSD post signal to a process or process group
pgsignal FreeBSD post signal to a process or process group
getpgrp2 HP-UX get process, process group and 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
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service