Modula-2 || Compiler & Tools || Library || Search Engine


Ulm's Modula-2 Library:
SysRead


NAME

SysRead - read from a file descriptor

SYNOPSIS

PROCEDURE Read(fd: CARDINAL; ptr: ADDRESS;
               VAR bytecount: CARDINAL) : BOOLEAN;

DESCRIPTION

Read reads up to bytecount bytes from fd and stores them into the memory area pointed to by ptr. The parameter bytecount is afterwards set to the number of bytes actually read.

DIAGNOSTICS

On failure, FALSE is returned and Errno.errno is set.

SEE ALSO

read(2), SysWrite
Edited by: borchert, last change: 1997/02/26, revision: 1.1, converted to HTML: 1997/04/28

Modula-2 || Compiler & Tools || Library || Search Engine