int newtime;
long newtime;
bridge_timeout(int s, char *brdg, char *arg){	struct ifbrparam bp;	int newtime;	char *endptr;	errno = 0;	newtime = strtol(arg, &endptr, 0);	if (arg[0] == '\0' || endptr[0] != '\0' || newtime < 0 ||	    (errno == ERANGE && newtime == ULONG_MAX)) {		printf("invalid arg for timeout: %s\n", arg);		return (EX_USAGE);	}	strlcpy(bp.ifbrp_name, brdg, sizeof(bp.ifbrp_name));	bp.ifbrp_ctime = newtime;	if (ioctl(s, SIOCBRDGSTO, (caddr_t)&bp) < 0) {		warn("%s", brdg);		return (EX_IOERR);	}	return (0);}