get_ostype

git-svn-id: svn://svn.cc65.org/cc65/trunk@3437 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2005-03-30 19:57:32 +00:00
parent cf5dbd840d
commit dd159b4073

View File

@ -64,7 +64,9 @@ function.
<sect1><tt/apple2.h/<label id="apple2.h"><p>
(incomplete)
<itemize>
<item><ref id="get_ostype" name="get_ostype">
</itemize>
<sect1><tt/apple2enh.h/<label id="apple2enh.h"><p>
@ -81,6 +83,10 @@ function.
<sect1><tt/atari.h/<label id="atari.h"><p>
<itemize>
<item><ref id="get_ostype" name="get_ostype">
</itemize>
(incomplete)
@ -106,7 +112,9 @@ function.
<sect1><tt/c64.h/<label id="c64.h"><p>
(incomplete)
<itemize>
<item><ref id="get_ostype" name="get_ostype">
</itemize>
<sect1><tt/cbm510.h/<label id="cbm510.h"><p>
@ -2050,6 +2058,28 @@ be used in presence of a prototype.
</quote>
<sect1>get_ostype<label id="get_ostype"><p>
<quote>
<descrip>
<tag/Function/The function returns the operating system, the program runs on.
<tag/Header/<tt/<ref id="apple2.h" name="apple2.h">,
<ref id="atari.h" name="atari.h">, <ref id="c64.h" name="c64.h">/
<tag/Declaration/<tt/unsigned char get_ostype (void);/
<tag/Description/<tt/get_ostype/ is machine dependent and does not exist for
all supported targets. If it exists, it returns a number that identifies the
operating system or machine type, the program runs on. The machine dependent
header files define constants that can be used to check the return code.
<tag/Limits/<itemize>
<item>The function does not exist on all platforms.
<item>The return codes are platform dependent.
</itemize>
<tag/Availability/cc65 (not all platforms)
<tag/Example/None.
</descrip>
</quote>
<sect1>getenv<label id="getenv"><p>
<quote>