| LIO_Get | Function (ROM Call 0x57)

link.h

unsigned short LIO_Get (LIO_CTX *file);

Gets a CBL file from the link interface.

LIO_Get is a high-level function which receives a CBL (Calculator-Based Laboratory) file through the link interface and fills LIO_CTX structure pointed to by file accordingly (note that I don't know much more about it). LIO_Get returns zero if the operation was successful, else returns a non-zero value (this value describes the type of the error, but I am not sure about the concrete meaning of particular values).

Uses: LIO_RecvData, LIO_SendData, OSLinkClose, OSLinkOpen, OSLinkReset, HeapAlloc, HeapLock, HeapUnlock, strlen, strncpy, OSClearBreak
Used by: cmd_get