{"id":16200434,"url":"https://github.com/yvann-ba/get_next_line","last_synced_at":"2025-07-26T02:07:27.265Z","repository":{"id":244555602,"uuid":"815588396","full_name":"yvann-ba/Get_Next_Line","owner":"yvann-ba","description":"Custom C function to read lines from a file descriptor. Efficient memory and file handling","archived":false,"fork":false,"pushed_at":"2024-06-17T16:34:57.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T19:52:41.120Z","etag":null,"topics":["42cursus","cprogramming","dynamicmemory","filedescriptor"],"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/yvann-ba.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":"2024-06-15T14:56:21.000Z","updated_at":"2025-01-22T12:53:33.000Z","dependencies_parsed_at":"2024-06-17T17:24:03.149Z","dependency_job_id":"683c8c04-0cf9-4b03-8d89-c3ab7fde4b00","html_url":"https://github.com/yvann-ba/Get_Next_Line","commit_stats":null,"previous_names":["yvann-ba/get_next_line"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yvann-ba%2FGet_Next_Line","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yvann-ba%2FGet_Next_Line/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yvann-ba%2FGet_Next_Line/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yvann-ba%2FGet_Next_Line/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yvann-ba","download_url":"https://codeload.github.com/yvann-ba/Get_Next_Line/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247704515,"owners_count":20982292,"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":["42cursus","cprogramming","dynamicmemory","filedescriptor"],"created_at":"2024-10-10T09:30:22.827Z","updated_at":"2025-04-07T17:53:00.979Z","avatar_url":"https://github.com/yvann-ba.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Get_Next_Line\n\n## 📜 Description\n\"Get_Next_Line\" is a project I completed at 42 School. The goal is to create a function that reads a line from a file descriptor, allowing efficient file input handling. This function helps manage dynamic memory and works with various file descriptors simultaneously.\n\n#### ⭐ My 42 score for this project:\n![image](https://github.com/yvann-ba/Get_Next_Line/assets/97234242/8c9961c4-94a7-4582-8cf6-8441c28fb425)\n\n#### 📄 Official 42 School Subject:\nhttps://github.com/rphlr/42-Subjects/blob/main/common-core/get_next_line/en.subject.pdf\n\n## 🌟 Features\n- Read lines from a file descriptor\n- Handle multiple file descriptors at once\n- Efficient dynamic memory management\n\n## ⚙️ Installation\n\nTo clone and compile this project, follow these steps:\n\n```bash\ngit clone https://github.com/your-username/Get_Next_Line.git\ncd Get_Next_Line\nmake\n```\n## 🚀 Usage\nInclude the function in your projects:\n```c\n#include \"get_next_line.h\"\n```\nUse the get_next_line function to read lines from a file:\n```c\nint fd = open(\"file.txt\", O_RDONLY);\nchar *line;\nwhile (get_next_line(fd, \u0026line) \u003e 0) {\n    printf(\"%s\\n\", line);\n    free(line);\n}\nclose(fd);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyvann-ba%2Fget_next_line","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyvann-ba%2Fget_next_line","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyvann-ba%2Fget_next_line/lists"}