Looking for some random-functions ... and maybe a bug report_(re)
Mon, 22 Sep 1997 20:15:46 +0200 (MEST)
According to Frank Heckenbach:
>
> Kevin A. Foss wrote:
>
> > Unfortunately, I know of no easy way to test for what operating system
> > EMX is currently using.
>
> Neither do I, that's the problem...
You can get this information at run-time - and *only* at run-time since
one and the same executable can run both on DOS (with and without DPMI)
and on OS/2. If the variable `__osmode' contains a nonzero value, it
is OS/2; if it is DOS and the variable `__emx_env' and $0180 is nonzero,
it is DPMI (RSX).
Greetings,
Peter
Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer
peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [970201]
maintainer GNU Pascal [970714] - http://home.pages.de/~gnu-pascal/ [970125]
Peter Gerwinski (peter@agnes.dida.physik.uni-essen.de)
HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada -
Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es