How to test whether strstr() returns a null pointer or not?



How to test whether strstr() returns a null pointer or not? Do I
use something like the following?

if(NULL != strstr(str1,str2))

That does not seem to work.
.