•  Back 
  •  Libraries 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : Pure C Library Documentation
Author      : John Kormylo
Version     : LIB.HYP 1.0
Subject     : Documentation/Pure C Library
Nodes       : 1309
Index Size  : 32068
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : en
@default    : 
@help       : Help
@options    : +g -i -s +x +z -t4
@width      : 75
View Ref-File[ Fread ]

#include <tos.h>

long Fread( int handle, long count, void* buffer );

  <handle> is an I/O handle.
  <count> is the number of bytes to read (or size of buffer).
  <buffer> is the array to contain the data read.


Function reads data from an open file (no conversion).
It returns the number of bytes read (before End Of File), or a
BIOS/GEMDOS Error Code.

GEM Opcode 63

See also GEMDOS.