LRT Ferror return values
The following is the list of error codes for Ferror that are set by the LRT functions.
Ferror
| Error Code | # | Error Message | Details |
|---|---|---|---|
FALIGN | 1 | Fielded buffer not aligned | The buffer does not begin on the proper boundary. |
FNOTFLD | 2 | Buffer not fielded | The buffer is not a fielded buffer or has not been initialized by LRT_finit or the buffer pointer is null. |
FNOSPACE | 3 | No space in fielded buffer | The specified buffer size is to small for a fielded buffer. |
FNOTPRES | 4 | Field not present | The requested field and/or occurrence was not found in the fielded buffer. |
FBADFLD | 5 | Unknown field number or type | The specified field identifier is not valid. |
FTYPERR | 6 | Illegal field type | The specified field identifier is not valid. |
FEUNIX | 7 | UNIX system call error | |
FBADNAME | 8 | Unknown field name | The specified field name was not found in the field tables. |
FMALLOC | 9 | malloc failed | Dynamic allocation of space using malloc failed |
FSYNTAX | 10 | Bad syntax in boolean expression | |
FFTOPEN | 11 | Cannot find or open field table | |
FFTSYNTAX | 12 | Syntax error in field table | |
FEINVAL | 13 | Invalid argument to function | |
FBADTBL | 14 | Destructive concurrent access to field table | |
FBADVIEW | 15 | Cannot find or get view | |
FVFSYNTAX | 16 | Syntax error in view file | |
FVFOPEN | 17 | Cannot find or open view file | |
FBADACM | 18 | ACM contains negative value | |
FNOCNAME | 19 | cname not found |

