char *tmp;
const char *tmp;
static int check_end(char *str, char *end){	int elen, slen;		char *tmp;	elen = strlen(end);	slen = strlen(str);	if(elen > slen) return 1;	tmp = str + slen - elen;	return strcmp(tmp, end);}