Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

PXFGETPGRP

POSIX Subroutine: Gets the process group ID of the calling process. This routine is only available for Linux.

Module

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.