rem: *valptr = argv[*skipptr+2]; *skipptr += 2;
add: if(valptr != NULL) { *valptr = argv[*skipptr+2]; *skipptr += 2; } else *skipptr += 1; return 1;
context: argmatch (char **argv, int argc, char *sstr, char *lstr,	  int minlen, char **valptr, int *skipptr){  char *p = 0;  int arglen;  char *arg;  /* Don't access argv[argc]; give up in advance.  */  if (argc <= *skipptr + 1)    return 0;  arg = argv[*skipptr+1];  if (arg == NULL)    return 0;  if (strcmp (arg, sstr) == 0)    {      if (valptr != NULL)	{	  *valptr = argv[*skipptr+2];	  *skipptr += 2;	}      else	*skipptr += 1;      return 1;    }  arglen = (valptr != NULL && (p = strchr(arg, '=')) != NULL	    ? p - arg : strlen (arg));  if (lstr == 0 || arglen < minlen || strncmp (arg, lstr, arglen) != 0)    return 0;  else if (valptr == NULL)    {      *skipptr += 1;      return 1;    }  else if (p != NULL)    {      *valptr = p+1;      *skipptr += 1;      return 1;    }  else if (argv[*skipptr+2] != NULL)    {      *valptr = argv[*skipptr+2];      *skipptr += 2;      return 1;    }  else    {      return 0;    }}