https://github.com/kuninoto/42_get_next_line
Handy function that returns a line, ending with a newline, read from a file descriptor.
https://github.com/kuninoto/42_get_next_line
42 42born2code 42cursus 42porto 42portugal 42projects 42school ecole42 getnextline getnextline-42 getnextline42
Last synced: 5 days ago
JSON representation
Handy function that returns a line, ending with a newline, read from a file descriptor.
- Host: GitHub
- URL: https://github.com/kuninoto/42_get_next_line
- Owner: Kuninoto
- Created: 2022-11-06T00:16:41.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-27T22:52:01.000Z (about 1 month ago)
- Last Synced: 2025-04-05T12:42:02.249Z (29 days ago)
- Topics: 42, 42born2code, 42cursus, 42porto, 42portugal, 42projects, 42school, ecole42, getnextline, getnextline-42, getnextline42
- Language: C
- Homepage:
- Size: 173 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# get_next_line (42Porto - 42Cursus)
## Grade: 125/100
### Description:
Utility function that reads a line (ending with newline) from a file descriptor.
### Installing and running the project:
1- Clone this repository
git clone https://github.com/Kuninoto/42_get_next_line
2- Compile your project (e.g. `main.c`) with `get_next_line`cc -Wall -Wextra -Werror main.c get_next_line.c
### Tests:
[gnlTester](https://github.com/Tripouille/gnlTester) with TIMEOUT_US=500000
![]()
![]()
![]()
[gnl-station-tester](https://github.com/kodpe/gnl-station-tester)
![]()
## Disclaimer
> At [42 School](https://en.wikipedia.org/wiki/42_(school)), almost every project must be written in accordance to the "Norm", the schools' coding standard. As a result, the implementation of certain parts may appear strange and for sure had room for improvement.---
Made by Nuno Carvalho (Kuninoto) | [email protected]