{"id":18418910,"url":"https://github.com/trobert42/printf","last_synced_at":"2025-10-19T08:14:24.062Z","repository":{"id":224079840,"uuid":"685709162","full_name":"trobert42/printf","owner":"trobert42","description":"Implementation of printf() C function","archived":false,"fork":false,"pushed_at":"2024-02-23T14:58:46.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-20T09:17:43.020Z","etag":null,"topics":["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/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}},"created_at":"2023-08-31T20:39:16.000Z","updated_at":"2024-02-23T17:47:30.000Z","dependencies_parsed_at":"2024-02-23T17:24:00.761Z","dependency_job_id":"e9bf232b-1fe3-4bd3-b21b-0f01f5873465","html_url":"https://github.com/trobert42/printf","commit_stats":null,"previous_names":["trobert42/printf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trobert42/printf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trobert42%2Fprintf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trobert42%2Fprintf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trobert42%2Fprintf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trobert42%2Fprintf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trobert42","download_url":"https://codeload.github.com/trobert42/printf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trobert42%2Fprintf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275254464,"owners_count":25432269,"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","status":"online","status_checked_at":"2025-09-15T02:00:09.272Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["printf"],"created_at":"2024-11-06T04:14:57.953Z","updated_at":"2025-10-19T08:14:19.028Z","avatar_url":"https://github.com/trobert42.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Printf() function\n\nA simple implementation of the C function printf. \n\n|    Project Name    |                                                                       ft_printf                                                                       |\n| :----------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------: |\n|    Description     |                                             My implementation of printf() C 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(), write(), va_start(), va_arg(), va_copy(), va_end()      |\n\n## Usage\n\n```bash\n  gcl https://github.com/trobert42/printf.git\n  cd printf\n  make\n```\n\nIt will create a library named libftprint.a. You can use the function ft_printf() if you include it inside your code and compile with the library. Here's how :\n```C\n// main.c\n#include \"includes/ft_printf.h\"\n\nint main() {\n    ft_printf(\"Hello %d \\n\", 42);\n    return 0;\n}\n\n```\n\nThen the compilation process :\n```bash\ngcc -Wall -Werror -Wextra main.c libftprintf.a\n```\n\nIf you want to use it in your project, you can link it into your makefile:\n```bash\nCC = gcc\nCFLAGS = -Wall -Werror -Wextra\nLDFLAGS = -L. -lftprintf\nSRC = main.c\nOBJ = $(SRC:.c=.o)\nEXE = a.out\n\n.PHONY: all clean fclean re\n\nall: $(EXE)\n\n$(EXE): $(OBJ)\n    $(CC) $(CFLAGS) $(OBJ) $(LDFLAGS) -o $@\n\n%.o: %.c\n    $(CC) $(CFLAGS) -c $\u003c -o $@\n\nclean:\n    rm -f $(OBJ)\n\nfclean: clean\n    rm -f $(EXE)\n\nre: fclean all\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrobert42%2Fprintf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrobert42%2Fprintf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrobert42%2Fprintf/lists"}