{"id":18664038,"url":"https://github.com/abderrsfa/ft_printf","last_synced_at":"2025-07-01T18:06:14.483Z","repository":{"id":97378908,"uuid":"303959494","full_name":"AbderrSfa/ft_printf","owner":"AbderrSfa","description":"Printf recoded. It manages width, precision, and the '0' '-' '*' flags.","archived":false,"fork":false,"pushed_at":"2021-08-09T16:46:38.000Z","size":44,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-18T05:08:09.260Z","etag":null,"topics":["1337","42born2code","character","ft-printf","hexadecimal","libftprintf","precision","printf"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AbderrSfa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-10-14T09:02:32.000Z","updated_at":"2022-10-11T12:25:38.000Z","dependencies_parsed_at":"2024-03-14T03:31:00.138Z","dependency_job_id":null,"html_url":"https://github.com/AbderrSfa/ft_printf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AbderrSfa/ft_printf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbderrSfa%2Fft_printf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbderrSfa%2Fft_printf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbderrSfa%2Fft_printf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbderrSfa%2Fft_printf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AbderrSfa","download_url":"https://codeload.github.com/AbderrSfa/ft_printf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbderrSfa%2Fft_printf/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263013712,"owners_count":23399813,"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":["1337","42born2code","character","ft-printf","hexadecimal","libftprintf","precision","printf"],"created_at":"2024-11-07T08:21:14.243Z","updated_at":"2025-07-01T18:06:14.472Z","avatar_url":"https://github.com/AbderrSfa.png","language":"C","readme":"# 🖨 ft_printf\n\n## 🧐 Description\nThe aim of this project is pretty straight forward; recode printf. This project teaches the ins and outs of using variadic arguments.\nThe key to a successful ft_printf is well-structured and extensible code.\n\n## 🔧 Usage\nRunning `make` will produce a library called ft_printf.a. Use ft_printf() just as you would use printf(). When compiling your code use ft_printf.a.\n\n`gcc main.c ft_printf.a`\n\n## ⚙️ Functionality\nJust like the real printf, ft_printf allows the following functionality:\n\n`%[flags][width][.precision]type`\n\n### Flags:\nThese flags are supported:\n- '0' (zero) - if the 'width' option is specified, add zeros to the beginning for numeric types.\n\n- '-' (minus) - Left-align the output of this placeholder.\n\n### Width:\nSpecifies a minimum number of characters to output.\n\n'\\*' : If '\\*' is used width is not specified in the format string, but as an additional integer value argument preceding the argument that has to be formatted.\n\n### Precision:\nPrecision field specifies a maximum limit on the output. E.g: `ft_printf(\"%.2s\", \"xyz\");` would output 'xy'.\n\n### Type:\nThese conversion characters are managed:\n- %c (character)\n- %s (string)\n- %p (address)\n- %d (digit)\n- %i (integer)\n- %u (unsigned integer)\n- %x (hexadecimal in lowercase)\n- %X (hexadecimal in upper case)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabderrsfa%2Fft_printf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabderrsfa%2Fft_printf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabderrsfa%2Fft_printf/lists"}