An open API service indexing awesome lists of open source software.

https://github.com/deruina/get_next_line

This repository contains an implementation of the "get_next_line" function in C. The function reads a file descriptor line by line, making it a useful tool for reading large files or streams without loading the entire content into memory at once.
https://github.com/deruina/get_next_line

42 42projects getnextline

Last synced: 2 months ago
JSON representation

This repository contains an implementation of the "get_next_line" function in C. The function reads a file descriptor line by line, making it a useful tool for reading large files or streams without loading the entire content into memory at once.

Awesome Lists containing this project

README

        

# get_next_line

This function returns the line read from the file descriptor
it recieves. The basic project is a 42 curriculum project.
file descriptors are numbered as following:
```bash
0 - basic input
1 - basic output
2 - error
3 and afterwards - the file opened with the open() function
```
In order to comline the program you just run in the terminal
the command:
```bash
make
```
### Evaluated by moulinette

![125/100](img/125.png)

## Author

- [@DeRuina](https://github.com/DeRuina)