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

https://github.com/shuygena/get_next_line

:keyboard: :soon: :desktop_computer: Function for reading one line of charset
https://github.com/shuygena/get_next_line

21school 42 42projects get-next-line

Last synced: 7 months ago
JSON representation

:keyboard: :soon: :desktop_computer: Function for reading one line of charset

Awesome Lists containing this project

README

          

# get_next_line

## Requirements:
gcc compiler.

## Download & Compile
Clone repository:
```
git clone https://github.com/shuygena/get_next_line gnl
```
Go to directory:
```
cd gnl
```
To use the function in your code, simply include its header:
```C
#include "get_next_line.h"
```
Function Prototype:
```C
int get_next_line(int fd, char **line);
```
For compile program run:
```
gcc -Wall -Werror -Wextra -D BUFFER_SIZE=[xx] *.c
```