Intel® Fortran Libraries Reference
Intel® Fortran Libraries Reference Intel® Fortran Libraries Reference
2 Intel Fortran Libraries ReferencePXFSETGIDPOSIX Subroutine: Sets the effective group ID of the current process. This subroutine is onlyavailable on Linux* systems.Module: USE IFPOSIXSyntaxCALL PXFSETGID (igid, ierror)igid(Input) INTEGER(4). The group ID.ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code.If the caller is the superuser, the real and saved group ID’s are also set. This feature allows aprogram other than root to drop all of its group privileges, do some un-privileged work, and thenre-engage the original effective group ID in a secure manner.CAUTION. If the user is root then special care must be taken. PXFSETGIDchecks the effective gid of the caller. If it is the superuser, all process-relatedgroup ID’s are set to gid. After this has occurred, it is impossible for theprogram to regain root privileges.See Also: “PXFGETGID”PXFSETPGIDPOSIX Subroutine: Sets the process group ID. This subroutine is only available on Linux*systems.Module: USE IFPOSIXSyntaxCALL PXFSETPGID (ipid, ipgid, ierror)ipid(Input) INTEGER(4). The process group ID to change.ipgid(Input) INTEGER(4). The new process group ID.2-326
Descriptions of the Library Routines 2ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code.The PXFSETPGID subroutine sets the process group ID of the process specified by ipid to ipgid.If ipid is zero, the process ID of the current process is used. If ipgid is zero, the process ID of theprocess specified by ipid is used.PXFSETPGID can be used to move a process from one process group to another, but both processgroups must be part of the same session. In this case, ipgid specifies an existing process group tobe joined and the session ID of that group must match the session ID of the joining process.PXFSETSIDPOSIX Subroutine: Creates a session and sets the process group ID. This subroutine is onlyavailable on Linux* systems.Module: USE IFPOSIXSyntaxCALL 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 groupleader.The calling process is the leader of the new session and the process group leader for the newprocess 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 callingprocess. The calling process will be the only process in this new process group and in this newsession.PXFSETUIDPOSIX Subroutine: Sets the effective user ID of the current process. This subroutine is onlyavailable on Linux* systems.Module: USE IFPOSIX2-327
- Page 328 and 329: 2 Intel Fortran Libraries Reference
- Page 330 and 331: 2 Intel Fortran Libraries Reference
- Page 332 and 333: 2 Intel Fortran Libraries Reference
- Page 334 and 335: 2 Intel Fortran Libraries Reference
- Page 336 and 337: 2 Intel Fortran Libraries Reference
- Page 338 and 339: 2 Intel Fortran Libraries Reference
- Page 340 and 341: 2 Intel Fortran Libraries Reference
- Page 342 and 343: 2 Intel Fortran Libraries Reference
- Page 344 and 345: 2 Intel Fortran Libraries Reference
- Page 346 and 347: 2 Intel Fortran Libraries Reference
- Page 348 and 349: 2 Intel Fortran Libraries Reference
- Page 350 and 351: 2 Intel Fortran Libraries Reference
- Page 352 and 353: 2 Intel Fortran Libraries Reference
- Page 354 and 355: 2 Intel Fortran Libraries Reference
- Page 356 and 357: 2 Intel Fortran Libraries Reference
- Page 358 and 359: 2 Intel Fortran Libraries Reference
- Page 360 and 361: 2 Intel Fortran Libraries Reference
- Page 362 and 363: 2 Intel Fortran Libraries Reference
- Page 364 and 365: 2 Intel Fortran Libraries Reference
- Page 366 and 367: 2 Intel Fortran Libraries Reference
- Page 368 and 369: 2 Intel Fortran Libraries Reference
- Page 370 and 371: 2 Intel Fortran Libraries Reference
- Page 372 and 373: 2 Intel Fortran Libraries Reference
- Page 374 and 375: 2 Intel Fortran Libraries Reference
- Page 376 and 377: 2 Intel Fortran Libraries Reference
- Page 380 and 381: 2 Intel Fortran Libraries Reference
- Page 382 and 383: 2 Intel Fortran Libraries Reference
- Page 384 and 385: 2 Intel Fortran Libraries Reference
- Page 386 and 387: 2 Intel Fortran Libraries Reference
- Page 388 and 389: 2 Intel Fortran Libraries Reference
- Page 390 and 391: 2 Intel Fortran Libraries Reference
- Page 392 and 393: 2 Intel Fortran Libraries Reference
- Page 394 and 395: 2 Intel Fortran Libraries Reference
- Page 396 and 397: 2 Intel Fortran Libraries Reference
- Page 398 and 399: 2 Intel Fortran Libraries Reference
- Page 400 and 401: 2 Intel Fortran Libraries Reference
- Page 402 and 403: 2 Intel Fortran Libraries Reference
- Page 404 and 405: 2 Intel Fortran Libraries Reference
- Page 406 and 407: 2 Intel Fortran Libraries Reference
- Page 408 and 409: 2 Intel Fortran Libraries Reference
- Page 410 and 411: 2 Intel Fortran Libraries Reference
- Page 412 and 413: 2 Intel Fortran Libraries Reference
- Page 414 and 415: 2 Intel Fortran Libraries Reference
- Page 416 and 417: 2 Intel Fortran Libraries Reference
- Page 418 and 419: 2 Intel Fortran Libraries Reference
- Page 420 and 421: 2 Intel Fortran Libraries Reference
- Page 422 and 423: 2 Intel Fortran Libraries Reference
- Page 424 and 425: 2 Intel Fortran Libraries Reference
- Page 426 and 427: 2 Intel Fortran Libraries Reference
Descriptions of the Library Routines 2ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code.The PXFSETPGID subroutine sets the process group ID of the process specified by ipid to ipgid.If ipid is zero, the process ID of the current process is used. If ipgid is zero, the process ID of theprocess specified by ipid is used.PXFSETPGID can be used to move a process from one process group to another, but both processgroups must be part of the same session. In this case, ipgid specifies an existing process group tobe joined and the session ID of that group must match the session ID of the joining process.PXFSETSIDPOSIX Subroutine: Creates a session and sets the process group ID. This subroutine is onlyavailable on Linux* systems.Module: USE IFPOSIXSyntaxCALL 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 groupleader.The calling process is the leader of the new session and the process group leader for the newprocess 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 callingprocess. The calling process will be the only process in this new process group and in this newsession.PXFSETUIDPOSIX Subroutine: Sets the effective user ID of the current process. This subroutine is onlyavailable on Linux* systems.Module: USE IFPOSIX2-327