I'm using strncmp to return a 1 if the user has typed in recent:

Code:
return ((strncmp(checkvalue, "recent", 1) == 0)||(strncmp(checkvalue, "RECENT", 1) == 0)||(strncmp(checkvalue, "Recent", 1) == 0));
But if the user types in anything that begins in R it still returns 1, is this becuase strncmp is only looking at 1 letter, if so how can I change this?

Many Thanks