SA_Index
SA_Index provides all of the capabilities of the SUNINDEX utility.
int SA_Index ( char *Command, u32 CommandLen, char *DMAddr, u32 DMAddrLen );
Note the following:
The logical string for {Command} is exactly the same as the SUNINDEX utility command line excluding the executable name.
Examples of the {DMAddr} string are as follows:
127.0.0.1:3934
127.0.0.1
An internal Q option (-Q{logname}) allows the utility to append displayed data to a {logname} log file.
Function return codes are as follows:
|
Value |
Meaning |
|
1 |
Success. |
|
-nn |
Error as described in I/O error section of the PL/B Runtime Reference. |
![]() |