SYNOPSIS

int MGOread (char *string, int size)

DESCRIPTION

The MGOread() function reads a maximum of size characters from the server and places them into string.

RETURN VALUE

Returns the number of characters read upon success (zero indicates end of file) or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).

ERRORS

SEE ALSO

MGOprintf(), MGOwrite()