Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 492 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 492 Bytes

get_next_line

This project is about programming a function that returns a line read from a file descriptor. It is written in C.

Features

  • Reads a line from a file descriptor.
  • Handles different buffer sizes.
  • Efficient memory management.

Installation

To compile the get_next_line program, use the following command:

gcc -Wall -Wextra -Werror -D BUFFER_SIZE=<size> get_next_line.c get_next_line_utils.c -o get_next_line

Replace with the desired buffer size.