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


Ulm's Modula-2 Library:
SysWrite


NAME

SysWrite - write to a file descriptor

SYNOPSIS

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

DESCRIPTION

Write writes up to bytecount bytes from the memory area pointed to by ptr to the file descriptor fd. On return, bytecount is set to the number of bytes written.

DIAGNOSTICS

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

SEE ALSO

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

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