title: Examples for reading text files in FreeBSD kernel module
body: <p>Could anyone give some simple examples (function names are good) for reading text files line by line (binary is OK if text is really hard) in a FreeBSD kernel module, from a given directory?</p>
  
  <p>Really appreciate your kind help.</p>