Why use icarus_gets at all? Just read is probably fine?