Mail Archives: djgpp/1995/08/07/07:25:03
On Mon, 7 Aug 1995, Sulyok Peter wrote:
> 3. DJGPP v2.0 will be ANSI- and POSIX-compliant. It would be a good
> thing if it would be "DOS C-compliant" too. It means that DJGPP
> ought to support function and type names (in DOS.H, DIR.H) which are
> the common part of DOS C compilers (Borland, Microsoft, Watcom, Symantec).
> In fact, mostly these are the identifiers of Microsoft C compiler.
Alas, those identifiers grossly disagree. At least for Borland and
Microsoft ``schools'' of DOS C compilers, the names are usually quite
different. E.g., Borland's findfirst() is MSC's _dos_findfirst(), and
the calling sequence is different; many Borland's functions return
values, while MSC's ones return DOS error code, etc. For those functions
which agree (like int86()), DJGPP follows them. Historically, DJGPP is
rooted in Borland's tradition, so it usually supplies functions you'd
expect working under that environment. Volunteers are welcome to write
and donate a set of macros or wrapper functions which will map them to
MSC's convention.
- Raw text -