Forum Discussion
Altera_Forum
Honored Contributor
14 years agoProbably because that is what a posix/unix system would do.
zero means 'end of file', so an error code is used for 'no data'.Probably because that is what a posix/unix system would do.
zero means 'end of file', so an error code is used for 'no data'.