Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
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.