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

FreeBSD Manual Pages

  
 
  

home | help
os_version(3)			Allegro	manual			 os_version(3)

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 re-
       trieve 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(3), os_multitasking(3)

Allegro				 version 4.4.2			 os_version(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=os_version&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help