Mail Archives: djgpp/1996/06/18/04:46:22
Leath Muller <leathm AT gbrmpa DOT gov DOT au> wrote (Subject: Re: Help Beginning):-
> Actually, I was taught this at the end of second year uni...the theory was
> something like: When you return to the OS after exiting from your program,
> you may send a void as void essentially translates into a numeric zero. As
> far as I know, void is undefined, not zero...so there you go, uni lecturers
> are sometimes wrong... :) ...
I imagine that (in djgpp on a PC) a (void function return value treated as
int) == whatever value was left in EAX register when the function finished.
- Raw text -