.. Copyright 1988-2021 Free Software Foundation, Inc. This is part of the GCC manual. For copying conditions, see the GPL license file .. _sleep: SLEEP --- Sleep for the specified number of seconds *************************************************** .. index:: SLEEP .. index:: delayed execution .. function:: SLEEP Calling this subroutine causes the process to pause for :samp:`{SECONDS}` seconds. :param SECONDS: The type shall be of default ``INTEGER``. :samp:`{Standard}:` GNU extension :samp:`{Class}:` Subroutine :samp:`{Syntax}:` .. code-block:: fortran CALL SLEEP(SECONDS) :samp:`{Example}:` .. code-block:: fortran program test_sleep call sleep(5) end