rem: int read_line(int f, char *buf, int maxlen)
add: int read_line(int f, char *buf, size_t maxlen)
context: int read_line(int f, char *buf, int maxlen){	while (maxlen) {		buf[0] = 0;		read_buf(f, buf, 1);		if (buf[0] == 0) return 0;		if (buf[0] == '\n') {			buf[0] = 0;			break;		}		if (buf[0] != '\r') {			buf++;			maxlen--;		}	}	if (maxlen == 0) {		*buf = 0;		return 0;	}	return 1;}