Everything

strcmp


Character string comparison

[Classification]

Standard library

[Syntax]

#include <string.h>

int __far strcmp(const char __near *s1, const char __near *s2);

int __far _COM_strcmp_ff(const char __far *s1, const char __far *s2);

[Return value]

Returns an value greater than, equal to, or less than 0, depending on whether the character string indicated by s1 is greater than, equal to, or less than the character string indicated by s2.

[Description]

This function compares the character string indicated by s1 with the character string indicated by s2.