DOKK / manpages / debian 10 / allegro4-doc / get_refresh_rate.3alleg4.en
get_refresh_rate(3alleg4) Allegro manual get_refresh_rate(3alleg4)

get_refresh_rate - Returns the current refresh rate. Allegro game programming library.

#include <allegro.h>

int get_refresh_rate(void);

Returns the current refresh rate, if known (not all drivers are able to report this information). Returns zero if the actual rate is unknown.

request_refresh_rate(3alleg4)

version 4.4.2 Allegro