OSReadLinkBlock Function (ROM Call 0x24F)

link.h

unsigned short OSReadLinkBlock (char *buffer, unsigned short num);

Reads bytes from the link receive buffer.

OSReadLinkBlock reads at most num bytes into buffer from the link receive buffer. Returns the number of bytes read.

Note: This function is a low-level function. See also LIO_RecvData for a higher-level variant of this function.


Used by: LIO_RecvData, ngetchx


Deprecated alias: receive


See also: LIO_RecvData