 |
strerror |
Function (ROM Call 0x27D) |
Gives an error message string.
strerror returns a pointer to string which contains text of the system error message
err_no. Note that this is not a TI-Basic error message, but a low level
error message. Here is a complete table of such messages:
| 0 | no error |
| 1 | no such file entry |
| 2 | I/O error |
| 3 | not a serial device |
| 4 | out of memory |
| 5 | permission denied |
| 6 | block device required |
| 7 | no such device |
| 8 | invalid argument |
| 9 | file table is full |
| 10 | device directory is full |
| 11 | no space left on device |
| 12 | no more allocation blocks |
| 13 | no more data blocks on device |
| 14 | file is open |
| 15 | no RAM space configured |
| 16 | no heap space configured |
| 17 | seek can't extend read only file |
| 18 | bad file descriptor - file not open |
| 19 | invalid signal number |
| 20 | argument out of range |
| 21 | result out of range |
Other values of err_no will generate "undefined errno value" message.
Note: Previous releases of TIGCCLIB prior to 2.0 reports wrongly that err_no
is a TI-Basic error code, which is not true. To get a pointer to TI-Basic error
message, use find_error_message function.