No, you're thinking of strcmp. strstr is a function that finds substrings of a string, so if you give it the parameters "look it up in the docs bozo" and "docs" then it will give you a pointer to "docs", thus confirming that "docs" is indeed in the string.