9.255 SLEEP — Sleep for the specified number of seconds

Description:

Calling this subroutine causes the process to pause for SECONDS seconds.

Standard:

GNU extension

Class:

Subroutine

Syntax:

CALL SLEEP(SECONDS)

Arguments:
SECONDS The type shall be of default INTEGER.
Example:
program test_sleep
  call sleep(5)
end

© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-9.3.0/gfortran/SLEEP.html