/42_gnl

Function that allows you to read content of a file line by line. 42 Madrid cursus project.

Primary LanguageC

42_get_next_line

Description

This project consists of programming a function that allows you to read a file content line by line. This is done by returning a line read from a file descriptor.

Prerequisites

  • Nothing needed

Usage

  • Include .h and .c files in your project.
  • Add get_next_line.h or get_next_line_bonus.h to your project header to access the function.
  • Call function in your code

Lessons

  • read function
  • File Descriptors
  • Buffer management

Resources