HelpPC 2.10 Quick Reference Utility Copyright 1991 David Jurgens

               TC: int _read( int handle, void *buf, int size )


       - prototype in io.h

       - reads "size" bytes from file "handle" into "buf"
       - size must be less than 65534 bytes
       - is a direct call to MS-DOS read function INT 21,3F
       - does not translate CR/LF;  all input in binary
       - returns number of bytes successfully transferred or -1
       - MS C uses _dos_read()

       - see   read()  _open()  _creat()  _write()   _close()

Esc or Alt-X to exit _read Home/PgUp/PgDn/End ←↑↓→
Converted to HTML in 2006 by Timo Bingmann