https://github.com/0bvim/get_next_line
https://github.com/0bvim/get_next_line
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/0bvim/get_next_line
- Owner: 0bvim
- License: mit
- Created: 2023-08-16T00:58:29.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-01T03:08:25.000Z (over 1 year ago)
- Last Synced: 2025-12-24T10:18:51.297Z (6 months ago)
- Language: C
- Size: 119 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# Reading a line from a fd is way too tedious!
> This proje is about programming a function that returns a line read from a file descriptor.
> Version '11'
## How to use it?
> First clone it in you preferred way
If you don't know how clone a repository, here's how --> [RTFM!!!](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository)
`SSH`
```
git@github.com:vinicius-f-pereira/get_next_line.git
```
`GitHub CLI`
```
gh repo clone vinicius-f-pereira/get_next_line
```
`HTTPS`
```
https://github.com/vinicius-f-pereira/get_next_line.git
```
## After clone repository follow this steps
`move to folder`
```
cd get_next_line
```
`use make commands to build mandatory, bonus, clean objectes, clean all generated files`
```
make
```
```
make bonus
```
```
make clean #to clean objetcts
make fclean #to clean objects and executable
```
## To execute programm
```
./get_next_line
```
> In directory have 2 files, `test.txt` and `test1.txt`. You can edit this files see how programm really works.
> If you compile programm with bonus the executable should handle both files. In mandatory, just one.