[Top] [Prev] [Next] [Bottom]
[Contents]
SaMakeStringFromThisRow
Makes a string from a specified row of an SaCallbackStruct
callback structure.
#include "SaPopCalls.h"
char* SaMakeStringFromThisRow(SaCallbackStruct *cbs, int row);
Arguments
- cbs
- An SaCallbackStruct callback structure.
- row
- Which row to use, 0 relative.
Return Values
A string containing the data.
SaMakeStringFromThisRow
returns a malloc'd string given an SaCallbackStruct
callback structure and a row number. If the row number is less than 0, greater than the total number of rows - 1, or if cbs
is NULL, an empty string is returned. Use free
to deallocate this memory when it is no longer needed. If the data contains multiple rows, a new line is inserted between the rows and the rows are concatenated.
[Top] [Prev] [Next] [Bottom]
[Contents]
info@bluestone.com
Copyright © 1997, Bluestone. All rights
reserved.