インテル® Fortran コンパイラー XE 13.1 ユーザー・リファレンス・ガイド
POSIX Subroutine: Gets the process group ID of the calling process.
USE IFPOSIX
CALL PXFGETPGRP (ipgrp,ierror)
ipgrp
(Output) INTEGER(4). The returned process group ID.
ierror
(Output) INTEGER(4). The error status.
If successful, ierror is set to zero; otherwise, an error code.
Each process group is a member of a session and each process is a member of the session in which its process group is a member.