Visible to Intel only — GUID: GUID-B2283D78-2819-4E47-B657-EA281AB11468
Visible to Intel only — GUID: GUID-B2283D78-2819-4E47-B657-EA281AB11468
PXFSETSID
POSIX Subroutine: Creates a session and sets the process group ID. This routine is only available for Linux.
Module
USE IFPOSIX
CALL PXFSETSID (isid,ierror)
isid |
(Output) INTEGER(4). The session ID. |
ierror |
(Output) INTEGER(4). The error status. |
If successful, ierror is set to zero; otherwise, an error code.
The PXFSETSID subroutine creates a new session if the calling process is not a process group leader.
The calling process is the leader of the new session and the process group leader for the new process group. The calling process has no controlling terminal.
The process group ID and session ID of the calling process are set to the PID of the calling process. The calling process will be the only process in this new process group and in this new session.