os_version(3alleg4) Allegro manual os_version(3alleg4)NAME
os_version, os_revision - Version of the OS currently running. Allegro game programming library.
extern int os_version;
extern int os_revision;
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)
I wanted to know how can I get the version of underlying HP-OS installed on a HPUX workstation. The output required is "June 2001" version or "March 2003" version etc whatever OS is present.
Thanx in advance for your help.
Pankaj (3 Replies)
I'm looking for a generic (i.e. would be resident in most/all unix flavors) internal command for determining my OS and version. When I telnet to a box here @ work, I get none of that info and can't remember the equivalent of the DOS ver command; I know I used to know this! Thanks. (2 Replies)
I'm trying to figure out the exact version of the AIX box I'm on. Like whether it's 5.1 or 5.2. I tried lsconf and smit but they didn't give the answer. Does anyone know a command that returns this value? I don't have root access. (3 Replies)
Could someone please explain it to me how much space in MG or GIG available if i can create another mount point or another slice by looking at this output:
# prtvtoc /dev/rdsk/c1t1d0s0
* /dev/rdsk/c1t1d0s0 partition map
* 512 bytes/sector
* 424 sectors/track... (2 Replies)
Preparing to get my first home PC via custom-build shop. It will have three hard disk drives...one to be used only for trial of various OSs. Was hoping to test out Haiku, but according to 'supported architectures' table at Wikipedia ("Comparison of open source operating systems"), it only works on... (3 Replies)
I am trying to figure out the OS version of my Linux box. I got three commands:
# uname -a
Linux test01 2.6.18-238.el5 #1 SMP Thu Jan 13 15:51:15 EST 2011 x86_64 x86_64 x86_64
# cat /proc/version
Linux version 2.6.18-238.el5 (email@example.com) (gcc version 4.1.2 20080704... (4 Replies)
Im wondering is there any way to see lpar OS info (like 5.3 or 6.1) in HMC web GUI?
Because in some situation, the lpar is inactive, the only way to check OS version is to activate, this process takes time :)
Tks! (8 Replies)
I need to figure out the minimum OS version needed to run some executable.
For the following OS: Linux, AIX, Solaris. For example how do I know the minimum OS version for /bin/ls ? "file" command does not give me much information. There are some tools that are helpful for understanding... (4 Replies)
Sorry if here is the wrong place to put this question, but for college we develop small programs in C using Solaris. Most of time is OK for us not to document nothing, until now.
Every time program is executed must print OS name.
Does Solaris has some predefined macros which I can include... (3 Replies)
We have bought solaries server. During installation of latest solaries, we are having some trouble. One of my old friend suggested that sol-10-u3-ga-sparc might be the solution for those trouble. I've search oracle web but they have removed this old version of update. The torrent has... (4 Replies)
For any SunOS 5.XX release, it appears prior to the "login:" prompt (as if a "uname" command is run).
Would anyone know where that initial display of SunOS release comes from upon a remote login and how I can stop if from displaying?
Thank you (4 Replies)