| | Re: L3P v1.3 for Mac OSX Travis Cobbs
| | | (...) Umm, fgets already does what 2) says above (unless you mean when end of file is reached and the function returns NULL). I'm not actually sure what goes into the string when fgets returns NULL. If no line ending is found (either due to EOF (...) (22 years ago, 11-Dec-02, to lugnet.cad.dev.mac)
| | | | | | | | Re: L3P v1.3 for Mac OSX Lars C. Hassing
| | | | | (...) Right! I must have been sleeping or thinking of strncpy...? Please delete 2) from the comment. (...) According to the CRT source ungetc doesn't use fseek, but with L3fgets the need to open in text mode has gone, so I might as well open in (...) (22 years ago, 12-Dec-02, to lugnet.cad.dev.mac)
| | | | | | |