Getting the Length of a String in a Memory File Row

To find out the length of a string in a memory file row, call the memory file row length function, mf_rowlen():

int mf_rowlen(mf_row, mfp)
 
int mf_row;
/* Row to find length of string
*/
MFILEPTR mfp;
/* Memory file to access
*/

This length does not include space for the null terminator at the end of the string.


Home Contents Previous Next