{"id":24364227,"url":"https://github.com/servettonga/ft_printf","last_synced_at":"2026-04-24T00:33:05.857Z","repository":{"id":218097415,"uuid":"741149049","full_name":"servettonga/ft_printf","owner":"servettonga","description":"A library that contains ft_printf, a function that mimics the real printf.","archived":false,"fork":false,"pushed_at":"2025-01-10T13:27:07.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-28T16:23:53.688Z","etag":null,"topics":["clang","clanguage","cpp","printf"],"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/servettonga.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-01-09T19:51:45.000Z","updated_at":"2025-01-10T13:27:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"4da4e430-1d31-4c8f-9897-c4f37fbb7075","html_url":"https://github.com/servettonga/ft_printf","commit_stats":null,"previous_names":["servettonga/ft_printf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/servettonga/ft_printf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/servettonga%2Fft_printf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/servettonga%2Fft_printf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/servettonga%2Fft_printf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/servettonga%2Fft_printf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/servettonga","download_url":"https://codeload.github.com/servettonga/ft_printf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/servettonga%2Fft_printf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32204709,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T00:06:41.111Z","status":"ssl_error","status_checked_at":"2026-04-24T00:06:35.224Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["clang","clanguage","cpp","printf"],"created_at":"2025-01-18T23:51:46.982Z","updated_at":"2026-04-24T00:33:05.840Z","avatar_url":"https://github.com/servettonga.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ft_printf\n\nA custom implementation of the C standard library printf function with support for basic format specifiers and flags.\n\n## Overview\n\nThis project recreates printf's core functionality without using the buffer management of the original printf. It handles the most common format specifiers and formatting flags.\n\n## Features\n\n### Format Specifiers\n\n| Specifier | Description |\n|-----------|-------------|\n| %c | Single character |\n| %s | String of characters |\n| %p | Pointer address in hex |\n| %d | Decimal (base 10) integer |\n| %i | Integer in base 10 |\n| %u | Unsigned decimal integer |\n| %x | Hex integer (lowercase) |\n| %X | Hex integer (uppercase) |\n| %% | Percent sign |\n\n### Flags\n\n| Flag | Description |\n|------|-------------|\n| - | Left-justify within field width |\n| + | Force plus/minus sign |\n| (space) | Space if no sign |\n| # | 0x/0X prefix for hex |\n| 0 | Zero padding |\n| . | Precision |\n| width | Minimum field width |\n\n## Usage\n\n```c\n#include \"ft_printf.h\"\n\nint main(void)\n{\n    // Basic string\n    ft_printf(\"Hello %s!\\n\", \"world\");\n    \n    // Multiple formats\n    ft_printf(\"Num: %d, Hex: %x, Char: %c\\n\", 42, 42, 'A');\n    \n    // Using flags\n    ft_printf(\"Padded: %05d\\n\", 42);\n    ft_printf(\"Left-aligned: %-10s\\n\", \"text\");\n    \n    return (0);\n}\n```\n\n## Notes\n\n- Buffer management is not implemented as per project requirements\n- All memory allocations are properly handled and freed\n- The project follows 42 school's coding standards\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fservettonga%2Fft_printf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fservettonga%2Fft_printf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fservettonga%2Fft_printf/lists"}