Jeff Abrahamson on Fri, 11 Apr 2003 12:12:16 -0400 |
On Fri, Apr 11, 2003 at 09:17:50AM -0400, Eric Lucas wrote: > Although I don't do it, you might benefit by writing an EOF character > after your signature. That would ensure the reading process would > stop reading. Come to think of it, I don't know why I don't write > an EOF in my code... hummmmmmm. Because there is no such thing as an EOF character on unix. There is an EOF result code. This is why getc returns an int and not a char. -- Jeff Jeff Abrahamson <http://www.purple.com/jeff/> GPG fingerprint: 1A1A BA95 D082 A558 A276 63C6 16BF 8C4C 0D1D AE4B Attachment:
pgpgOEx4swW1X.pgp
|
|