4.15.6. ToolConf_Cmp

This function performs a case-insensitive comparison of two ToolConf database tag values.

Syntax


int ToolConf_Cmp(const char *s1const char *s2)

where:

s1

is a pointer to the first string value to compare.

s2

is a pointer to the second string value to compare.

Return

The function returns:

  • 1, if thestrings are identical

  • 0, if the strings are different.

Example

if (ToolConf_Cmp(option, "8192"))
Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI0058D
Non-Confidential