TsctlSystemMapGetCExamples
From embeddedTS Manuals
// dump the list of strings in the map System *sys = SystemInit(0); int i,n = sys->MapLength(sys),val; char* str; for (i=0;i<n;i++) { str = sys->MapGet(sys,i,&val); printf("%s=%d\n",str,val); ArrayFree(str); }