SA_WriteEndOfFile
SA_WriteEndOfFile outputs an end of file or truncates the file to the specified position.
int SA_WriteEndOfFile ( SA_FH TxtFH, u32 record );
or
int SA_WriteEndOfFile32 ( SA_FH TxtFH, u32 record );
Note the following:
Function return codes are as follows:
|
Value |
Meaning |
|
1 |
Success. |
|
-nn |
Error as described in Sunaccess Errors |
Use SA_WriteEndOfFile32 for 32 bit applications such as Visual Basic 6.0.
![]() |