tfStrCmp

Jump to: navigation, search

Table of Contents >> Programmer's Reference


#include <trsocket.h>


int tfStrCmp (
const char TM_FAR * string1,
const char TM_FAR * string2
);


Function Description

This function alphabetically compares two strings.


Parameters

  • string1
    Pointer to the first string.
  • string2
    Pointer to the second string.


Returns

  • < 0
    stringPtr1 is less than stringPtr2
  • 0
    stringPtr1 is equal to stringPtr2
  • > 0
    stringPtr1 is greater than stringPtr2


Table of Contents >> Programmer's Reference