インテル® Fortran コンパイラー 19.0 デベロッパー・ガイドおよびリファレンス
POSIX Subroutine: Creates a session and sets the process group ID.
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.