Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
al_rest(3)		    Library Functions Manual		      al_rest(3)

NAME
     al_rest - Allegro 5 API

SYNOPSIS
	    #include <allegro5/allegro.h>

	    void al_rest(double seconds)

DESCRIPTION
     Waits  for the specified number of seconds.  This tells the system to pause
     the current thread for the given amount of time.  With some operating  sys-
     tems, the accuracy can be in the order of 10ms.  That is, even

	    al_rest(0.000001)

     might  pause  for	something like 10ms.  Also see the section on Timer rou-
     tines for easier ways to time your program without using up all CPU.

Allegro reference manual					      al_rest(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=al_rest&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help