1os_type(3)                      Allegro manual                      os_type(3)
2
3
4

NAME

6       os_type  - Stores the detected type of the OS. Allegro game programming
7       library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       extern int os_type;
14

DESCRIPTION

16       Set by allegro_init() to one of the values:
17
18          OSTYPE_UNKNOWN    - unknown, or regular MSDOS
19          OSTYPE_WIN3       - Windows 3.1 or earlier
20          OSTYPE_WIN95      - Windows 95
21          OSTYPE_WIN98      - Windows 98
22          OSTYPE_WINME      - Windows ME
23          OSTYPE_WINNT      - Windows NT
24          OSTYPE_WIN2000    - Windows 2000
25          OSTYPE_WINXP      - Windows XP
26          OSTYPE_WIN2003    - Windows 2003
27          OSTYPE_WINVISTA   - Windows Vista
28          OSTYPE_OS2        - OS/2
29          OSTYPE_WARP       - OS/2 Warp 3
30          OSTYPE_DOSEMU     - Linux DOSEMU
31          OSTYPE_OPENDOS    - Caldera OpenDOS
32          OSTYPE_LINUX      - Linux
33          OSTYPE_SUNOS      - SunOS/Solaris
34          OSTYPE_FREEBSD    - FreeBSD
35          OSTYPE_NETBSD     - NetBSD
36          OSTYPE_IRIX       - IRIX
37          OSTYPE_DARWIN     - Darwin
38          OSTYPE_QNX        - QNX
39          OSTYPE_UNIX       - Unknown Unix variant
40          OSTYPE_BEOS       - BeOS
41          OSTYPE_MACOS      - MacOS
42          OSTYPE_MACOSX     - MacOS X
43
44

SEE ALSO

46       allegro_init(3), os_version(3), os_multitasking(3)
47
48
49
50Allegro                          version 4.2.3                      os_type(3)
Impressum