section 3readline — Library functions