Intel® Fortran Compiler 16.0 User and Reference Guide

PXFSLEEP

POSIX Subroutine: Forces the process to sleep.

Module

USE IFPOSIX

CALL PXFSLEEP (iseconds,isecleft,ierror)

iseconds

(Input) INTEGER(4). The number of seconds to sleep.

isecleft

(Output) INTEGER(4). The number of seconds left to sleep.

ierror

(Output) INTEGER(4). The error status.

If successful, ierror is set to zero; otherwise, an error code.

The PXFSLEEP subroutine forces the current process to sleep until seconds iseconds have elapsed or a signal arrives that cannot be ignored.