658
Appendix A: System Routines — Link
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
LIO_RecvData
Declaration:
WORD
LIO_RecvData
(BYTE *
data
, DWORD
count
, DWORD
timeout
)
Category(ies):
Link
Description:
Receive data from the link port.
Inputs:
data
— Pointer to buffer where data will be stored.
count
— Number of bytes to receive.
timeout
— If 0, receive until all data is sent or an error occurs. If
nonzero, quit waiting after a delay of
timeout
.
Outputs:
Returns non-0 if an error occurs. Otherwise returns 0.
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also: LIO_SendData
Example:
if (error = LIO_RecvData(msg, len+2, ONE_SECOND * 2))
return error;