Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking With Open Transport / Part 2 - Open Transport Reference
Chapter 27 - Utilities Reference / Functions
String Manipulation Utility Functions /


OTStrEqual

Determines whether two C strings are the same.

C INTERFACE
Boolean OTStrEqual  (const char* str1,
                     const char* str2)
C++ INTERFACE
None. C++ applications use the C interface to this function.

PARAMETERS
str1
A zero-terminated string that you want to compare with the string indicated by the str2 parameter.
str2
A zero-terminated string that you want to compare with the string indicated by the str1 parameter.
function result
The function returns a value of true when the two strings are exactly the same.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998