Phantasmal Site > Phantasmal API > API Listing > strcmp
API Function: strcmp
- Summary:
- compare two strings
- Defined In LPC Object:
- /usr/common/sys/stringd.c
- Prototype:
- int strcmp(string s1, string s2)
- Can Be Called By:
- Anybody
- Description:
-
Returns 1 if s1 is later in ASCII order than s2. Returns
-1 if s2 is later than s1. Returns 0 if the two are equal.
- Return Value:
-
1, 0, or -1. See Description.
- Errors:
- Normally none.
- See Also:
- stricmp
|