154 * @return the result of strncmp(s1, s2, *n) |
154 * @return the result of strncmp(s1, s2, *n) |
155 */ |
155 */ |
156 int ucx_strncmp(const void *s1, const void *s2, void *n); |
156 int ucx_strncmp(const void *s1, const void *s2, void *n); |
157 |
157 |
158 /** |
158 /** |
|
159 * Wraps the sstrcmp function. |
|
160 * @param s1 sstr one |
|
161 * @param s2 sstr two |
|
162 * @param data ignored |
|
163 * @return the result of sstrcmp(s1, s2) |
|
164 */ |
|
165 int ucx_sstrcmp(const void *s1, const void *s2, void *data); |
|
166 |
|
167 /** |
159 * Compares two integers of type int. |
168 * Compares two integers of type int. |
160 * @param i1 pointer to integer one |
169 * @param i1 pointer to integer one |
161 * @param i2 pointer to integer two |
170 * @param i2 pointer to integer two |
162 * @param data omitted |
171 * @param data omitted |
163 * @return -1, if *i1 is less than *i2, 0 if both are equal, |
172 * @return -1, if *i1 is less than *i2, 0 if both are equal, |