_CP_rewind is equivalent to the rewind BASIC statement.
Type | BASIC Statement |
---|---|
_CP_REWIND_ELSE | rewind else * return -1 |
_CP_REWIND_ONERR | rewind else * return -1 |
int _CP_rewind(int type)
This function returns -1 if an error occurs. The error code is contained in _CP_errno. PE_TAPE indicates a tape error.
/* Rewinds the tape. */ _CP_rewind(_CP_REWIND_ELSE);