TsctlSystemMapLookupPartialDesc

From embeddedTS Manuals

The System object provides a "Map" which associates string names to integer values. This is used to store DIO names, attributes, and other information. This information is automatically populated by reading /etc/dioctl.config at startup.

This function finds the first string in the mapping that begins with the specified string, and has the specified value, and returns the remainder of the string. If a match is not found, returns an empty strings. In either case, the returned value is newly allocated.