Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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.