debian man page for os_version

Query: os_version

OS: debian

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

os_version(3alleg4)						  Allegro manual					       os_version(3alleg4)

NAME
os_version, os_revision - Version of the OS currently running. Allegro game programming library.
SYNOPSIS
#include <allegro.h> extern int os_version; extern int os_revision;
DESCRIPTION
The 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 ALSO
os_type(3alleg4), os_multitasking(3alleg4) Allegro version 4.4.2 os_version(3alleg4)
Related Man Pages
os_type(3alleg4) - debian
exrotscl(3alleg4) - php
exrotscl(3alleg4) - opendarwin
exrotscl(3alleg4) - plan9
exrotscl(3alleg4) - mojave
Similar Topics in the Unix Linux Community
What OS version am I on?
how to get the bios version?
Sun OS version 9 Sparc Sunfire 280
Different ways to get OS version
Figure out the minimum os version neede to run executable or link library.