/42_gnl

42 école project

Primary LanguageCMIT LicenseMIT

42_gnl

42 école project

  1. Open a file and discover check if there is a valid file descriptor
  2. Read the file according to the defined BUFFER
  3. Course the chars readen until you find a line breaker '\n'
  4. If you find a return 1 as "A line has been read"
  5. If you don't find keep looking