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.
- Host: GitHub
- URL: https://github.com/deruina/get_next_line
- Owner: DeRuina
- Created: 2022-11-11T13:23:08.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-25T22:01:23.000Z (over 2 years ago)
- Last Synced: 2025-01-18T07:47:15.095Z (4 months ago)
- Topics: 42, 42projects, getnextline
- Language: C
- Homepage:
- Size: 1.31 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
## Author
- [@DeRuina](https://github.com/DeRuina)