readline() accepts two extra parameters, buf and buflen, to avoid