#include "internal.h" int io·readln(io·Stream *s, int n, byte* buf) { byte* b; b = fgets(buf, n+1, s); if(b == nil) return -1; return strlen(buf); }