What's this mystic __getc() that I see in libc's source (djlsr203.zip ) all the time? I can't find sources for that (and not really that anxious to download extra 20 megs). I guess that the prototype is something like:
char __getc(FILE *)
Anyone?
What's this mystic __getc() that I see in libc's source (djlsr203.zip ) all the time? I can't find sources for that (and not really that anxious to download extra 20 megs). I guess that the prototype is something like:
char __getc(FILE *)
Anyone?
kooma - [email protected]
getc is a standard function, the prototype is int getc ( FILE * stream );
Most compilers will have two ways to call a function. Normally, such as getc and with leading underscores, such as __getc. I don't recall the reason for that right now, but the two are equivalent. The former is preferred though because I believe the latter isn't as portable, the call is implementation defined.
I could very well be wrong, my memory on this point isn't too good.
-Prelude
My best code is written with the delete key.