{"id":18664014,"url":"https://github.com/abderrsfa/libft","last_synced_at":"2025-07-12T01:39:49.469Z","repository":{"id":48056406,"uuid":"271679294","full_name":"AbderrSfa/libft","owner":"AbderrSfa","description":"Library full of useful standard C functions.","archived":false,"fork":false,"pushed_at":"2022-08-11T10:12:01.000Z","size":1580,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-27T17:16:02.854Z","etag":null,"topics":["1337","42born2code","libft"],"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}},"created_at":"2020-06-12T01:15:58.000Z","updated_at":"2022-10-11T12:25:42.000Z","dependencies_parsed_at":"2022-08-12T17:40:24.135Z","dependency_job_id":null,"html_url":"https://github.com/AbderrSfa/libft","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbderrSfa%2Flibft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbderrSfa%2Flibft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbderrSfa%2Flibft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbderrSfa%2Flibft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AbderrSfa","download_url":"https://codeload.github.com/AbderrSfa/libft/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239488068,"owners_count":19647129,"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","libft"],"created_at":"2024-11-07T08:21:05.287Z","updated_at":"2025-02-18T14:29:50.434Z","avatar_url":"https://github.com/AbderrSfa.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧰 Libft\n\n## 🧐 Description\nLibft is a project in which I recreate a library full of useful functions to employ throughout my journey at 1337.\nThe aim of this project is to code a library of functions in C that I will use in my future projects.\n\nThese are the functions included in the library:\n```c\nint\t\tft_atoi(const char *str);\nvoid\t\tft_bzero(void *s, size_t n);\nvoid\t\t*ft_calloc(size_t count, size_t size);\nint\t\tft_isalnum(int c);\nint\t\tft_isalpha(int c);\nint\t\tft_isascii(int c);\nint\t\tft_isdigit(int c);\nint\t\tft_isprint(int c);\nvoid\t\t*ft_memccpy(void *dst, const void *src, int c, size_t n);\nvoid\t\t*ft_memchr(const void *s, int c, size_t n);\nint\t\tft_memcmp(const void *s1, const void *s2, size_t n);\nvoid\t\t*ft_memcpy(void *dst, void *src, size_t n);\nvoid\t\t*ft_memmove(void *dst, const void *src, size_t len);\nvoid\t\t*ft_memset(void *b, int c, size_t len);\nchar\t\t*ft_strchr(const char *s, int c);\nchar\t\t*ft_strdup(const char *s1);\nsize_t\t\tft_strlcat(char *dst, const char *src, size_t size);\nsize_t\t\tft_strlcpy(char *dst, const char *src, size_t size);\nsize_t\t\tft_strlen(const char *s);\nint\t\tft_strncmp(const char *s1, const char *s2, size_t n);\nchar\t\t*ft_strnstr(const char *hay, const char *ndl, size_t len);\nchar\t\t*ft_strrchr(const char *s, int c);\nint\t\tft_tolower(int c);\nint\t\tft_toupper(int c);\nchar\t\t*ft_substr(char const *s, unsigned int start, size_t len);\nchar\t\t*ft_strjoin(char const *s1, char const *s2);\nchar\t\t*ft_strtrim(char const *s1, char const *set);\nchar\t\t*ft_itoa(int n);\nchar\t\t*ft_split(char const *s, char c);\nchar\t\t*ft_strmapi(char const *s, char (*f)(unsigned int, char));\nvoid\t\tft_putchar_fd(char c, int fd);\nvoid\t\tft_putstr_fd(char *s, int fd);\nvoid\t\tft_putendl_fd(char *s, int fd);\nvoid\t\tft_putnbr_fd(int n, int fd);\nt_list\t\t*ft_lstnew(void *content);\nvoid\t\tft_lstadd_front(t_list **alst, t_list *new);\nint\t\tft_lstsize(t_list *lst);\nt_list\t\t*ft_lstlast(t_list *lst);\nvoid\t\tft_lstadd_back(t_list **alst, t_list *new);\n```\n\n## 🔧 Usage\nRunning `make` will produce a library called libft.a. When compiling your code use libft.a.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabderrsfa%2Flibft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabderrsfa%2Flibft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabderrsfa%2Flibft/lists"}