{"id":18418902,"url":"https://github.com/trobert42/get_next_line","last_synced_at":"2025-04-13T06:11:47.699Z","repository":{"id":224084308,"uuid":"685706296","full_name":"trobert42/get_next_line","owner":"trobert42","description":"Implementation of a function written in C that reads a lines from a file descriptor","archived":false,"fork":false,"pushed_at":"2024-02-26T16:10:29.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T06:44:51.692Z","etag":null,"topics":["buffer","fd","getline","read"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trobert42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-31T20:28:58.000Z","updated_at":"2024-02-23T17:46:26.000Z","dependencies_parsed_at":"2024-12-24T17:35:52.205Z","dependency_job_id":null,"html_url":"https://github.com/trobert42/get_next_line","commit_stats":null,"previous_names":["trobert42/get_next_line"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trobert42%2Fget_next_line","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trobert42%2Fget_next_line/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trobert42%2Fget_next_line/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trobert42%2Fget_next_line/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trobert42","download_url":"https://codeload.github.com/trobert42/get_next_line/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248670435,"owners_count":21142904,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["buffer","fd","getline","read"],"created_at":"2024-11-06T04:14:56.555Z","updated_at":"2025-04-13T06:11:47.678Z","avatar_url":"https://github.com/trobert42.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GNL - getline() but in C\n\nThe goal of this project is to develop a function in C that reads lines ending with a newline character ('\\n') from a file descriptor without prior knowledge of their size. Through this project, we aim to explore the concept of static variables in C programming and gain insight into memory allocations, buffer manipulation, and the lifecycle of buffers.\n\n|    Project Name    |                                                                       get_next_line                                                                      |\n| :----------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------: |\n|    Description     |                                             My implementation of a function written in C that reads a lines from a file descriptor function                                             |\n|    Technologies    | \u003ca href=\"#\"\u003e\u003cimg alt=\"C\" src=\"https://custom-icon-badges.demolab.com/badge/C-03599C.svg?logo=c-in-hexagon\u0026logoColor=white\u0026style=for-the-badge\"\u003e\u003c/a\u003e |\n| External libraries |     malloc(), free(), read()      |\n\n## Usage\n\n```bash\n  gcl https://github.com/trobert42/get_next_line.git\n  cd get_next_line\n```\n\nYou can use it by compiling the main.c. Here's how :\n```bash\ngcc -Wall -Wextra -Werror main.c get_next_line.c get_next_line_utils.c \n./a.out text1.text\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrobert42%2Fget_next_line","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrobert42%2Fget_next_line","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrobert42%2Fget_next_line/lists"}