SA_AamUpdate
SA_AamUpdate updates the last text record in place. The aamdex file is also automatically updated.
int SA_AamUpdate ( SA_FH AamFH, u8 *Buffer, u32 BuffLen );
Note the following:
The record should not contain carriage returns and line feeds.
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_AamPrep will be truncated.
Function return codes are as follows:
|
Value |
Meaning |
|
n |
Number of bytes written. |
|
-nn |
Error as described in Sunaccess Errors |
![]() |