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

https://github.com/kr1sng/42cursus-get_next_line

42's project to implement a function to reading line-by-line from a file discriptor
https://github.com/kr1sng/42cursus-get_next_line

42born2code 42project get-next-line gnl42

Last synced: 4 months ago
JSON representation

42's project to implement a function to reading line-by-line from a file discriptor

Awesome Lists containing this project

README

          

# ↪ Get the next line ↩️

*This is a 42's project about creating a function that returns a line which is read from a file descriptor*

![image](https://github.com/user-attachments/assets/adfe06a7-1a6d-4d76-b39d-a7cfd8bd3a86)

---

## :construction_worker: How to Run

### Requirements

The library is written in language C and thus needs the **`cc` compiler** and some standard **C libraries** to run.

### Instructions

**1. Including header**
```c
#include "get_next_line.h"
```

**2. Compiling**

Make sure that you have your own `main` before.

To compile with `get_next_line`, run:

```shell
$ cc -Wall -Wextra -Werror get_next_line.c get_next_line_utils.c
```

## :bug: Issues

Please feel free **to create a new issue** with its title and description on the issues page of the [42cursus-get_next_line](https://github.com/Kr1sNg/42cursus-get_next_line/issues) Repository. If you have already found the solution to the problem, **I would love to review your pull request**!

---

### :microscope: Third-party testers
* [Francinette](https://github.com/xicodomingues/francinette)