SA_TxtUpdate
SA_TxtUpdate updates the last text record read in place.
int SA_TxtUpdate (SA_FH TxtFH, u8 *Buffer, u32 BufLen );
Note the following:
Any record with a complete end of line sequence, CR/LF for DOS or LF for Linux, will lose all text in the record after that sequence on a subsequent record retrieval.
A record longer than the {reclen} parameter specified in SA_TxtPrep will be truncated.
Function return codes are as follows:
|
Value |
Meaning |
|
nn |
Number of bytes written |
|
-nn |
Error as described in Sunaccess Errors |
![]() |