SA_IsiUpdate
SA_IsiUpdate updates the last text record read in place. The index key file is unchanged.
int SA_IsiUpdate ( SA_FH IsiFH, 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_IsiPrep will be truncated.
The text in key positions in the buffer should not be changed with this instruction, unless an SA_isiDeleteK and SA_IsiInsert operation follow to modify the index file.
Function return codes are as follows:
|
Value |
Meaning |
|
nn |
Number of bytes written |
|
-nn |
Error as described in Sunaccess Errors |
![]() |