io_lib_fread

Functions


fread(Continuation, String, Format) -> Return

  • Continuation = continuation() (see module io_lib) | []
  • String = string()
  • Format = string()
  • Return = {more, Continuation1::continuation() (see module io_lib)} | {done, Result, LeftOverChars::string()}
  • Result = {ok, InputList::[fread_item() (see module io_lib)]} | eof | {error, {fread, What::fread_error() (see module io_lib)}}

fread(Format, String) -> Result

  • Format = string()
  • String = string()
  • Result = {ok, InputList::[fread_item() (see module io_lib)], LeftOverChars::string()} | {more, RestFormat::string(), Nchars::non_neg_integer(), InputStack::chars() (see module io_lib)} | {error, {fread, What::fread_error() (see module io_lib)}}