Skip to content

This project is about programming a function that returns a line read from a file descriptor.

Notifications You must be signed in to change notification settings

Maroua-netizen/get_next_line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

This project is about programming a function that returns a line read from a file descriptor.

Topics

Resources

Stars

Watchers

Forks

Languages