os_revision (3) - Linux Man Pages
os_revision: Version of the OS currently running. Allegro game programming library.
NAMEos_version, os_revision - Version of the OS currently running. Allegro game programming library.
extern int os_version;
DESCRIPTIONThe major and minor version of the Operating System currently running. Set by allegro_init(). If Allegro for some reason was not able to retrieve the version of the Operating System, os_version and os_revision will be set to -1. For example: Under Win98 SE (v4.10.2222) os_version will be set to 4 and os_revision to 10.
SEE ALSOos_type(3), os_multitasking(3)
Linux man pages generated by: SysTutorials
Linux Man Pages Copyright Respective Owners. Site Copyright © SysTutorials. All Rights Reserved.