{"id":20442815,"url":"https://github.com/simon-zerisenay/libft","last_synced_at":"2025-09-24T15:30:37.008Z","repository":{"id":97688379,"uuid":"585942745","full_name":"simon-zerisenay/libft","owner":"simon-zerisenay","description":"Libft: Libft is a library project that aims to recreate various standard C library functions as well as additional useful functions. The project helps to strengthen programming skills by implementing common functionality from scratch.","archived":false,"fork":false,"pushed_at":"2024-07-03T12:00:46.000Z","size":170,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-15T09:50:21.323Z","etag":null,"topics":["42","42-school","42born2code","42projects","c","clibrary","ecole42","libft"],"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/simon-zerisenay.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":"2023-01-06T14:07:57.000Z","updated_at":"2024-10-16T07:05:24.000Z","dependencies_parsed_at":"2023-11-14T12:30:49.049Z","dependency_job_id":"de72a068-74ba-4f93-901b-21c118247f99","html_url":"https://github.com/simon-zerisenay/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/simon-zerisenay%2Flibft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simon-zerisenay%2Flibft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simon-zerisenay%2Flibft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simon-zerisenay%2Flibft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simon-zerisenay","download_url":"https://codeload.github.com/simon-zerisenay/libft/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234091368,"owners_count":18778446,"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":["42","42-school","42born2code","42projects","c","clibrary","ecole42","libft"],"created_at":"2024-11-15T09:43:09.391Z","updated_at":"2025-09-24T15:30:31.710Z","avatar_url":"https://github.com/simon-zerisenay.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# libft\n\n\n\u003ca href=\"https://github.com/simon-zerisenay/libft\" align=\"center\"\u003e![42 Badge](https://github.com/mcombeau/mcombeau/blob/main/42_badges/libftm.png)\u003c/a\u003e\n\u003clabel\u003e\n\t\u003ch2\u003e Score \u003c/h2\u003e\t\n\t\u003cimg alt=\"100\" style=\"width: 100px;height: 70px\" src=\"https://github.com/simon-zerisenay/simon-zerisenay/blob/main/125.png\"/\u003e\n\u003c/label\u003e\n \u003c/div\u003e\n🗣️ About\nThe aim of this project is to code a C library regrouping usual functions that you'll be allowed to use in all your other projects.\n\nFor detailed information, refer to the subject of this project.\n \n🚀 TLDR: this project consists of coding basic C functions (see below), which are then compiled\ninto a library for use in other projects of the cursus.\nFunctions from \u003cctype.h\u003e library\nft_isascii - test for ASCII character.\n\nft_isalnum - alphanumeric character test.\n \nft_isalpha - alphabetic character test. \n\nft_islower * - lower-case character test.\n \nft_isupper * - upper-case character test.  \n\nft_isdigit - decimal-digit character test. \n \nft_isxdigit * - hexadecimal-digit character test.\n\nft_isprint - printing character test (space character inclusive).\n\nft_isgraph * - printing character test (space character exclusive).\n\nft_isspace * - white-space character test.\n\nft_isblank * - space or tab character test.\n\nft_ispunct * - punctuation character test.\n\nft_iscntrl * - control character test.\n\nft_tolower - upper case to lower case letter conversion.\n\nft_toupper - lower case to upper case letter conversion.\n\n#Functions from \u003cstdlib.h\u003e library\n\nft_atoi - convert ASCII string to integer.\n\nft_atof * - convert ASCII string to integer.\n\nft_calloc - memory allocation.\n\nFunctions from \u003cstrings.h\u003e library\n\nft_bzero - write zeroes to a byte string.\n\nft_memset - write a byte to a byte string.\n\nft_memchr - locate byte in byte string.\n\nft_memcmp - compare byte string.\n\nft_memmove - copy byte string.\n\nft_memcpy - copy memory area.\n\nft_memccpy - copy string until character found.\n\n#Functions from \u003cstring.h\u003e library\n\nft_strlen - find length of string.\n\nft_strlen_2 * - find length of 2D array (i.e. splitted string).\n\nft_strchr - locate character in string (first occurrence).\n\nft_strrchr - locate character in string (last occurence).\n\nft_strstr * - locate a substring in a string.\n\nft_strnstr - locate a substring in a string (size-bounded).\n\nft_strcmp * - compare strings.\n\nft_strncmp * - compare strings (size-bounded).\n\nft_strnrcmp - reversely compare strings (size-bounded).\n\nft_strcpy * - copy strings.\n\nft_strncpy * - copy strings (size-bounded).\n\nft_strdup - save a copy of a string (with malloc).\n\nft_strndup * - save a copy of a string (with malloc, size-bounded).\n\nft_strcat * - concatenate strings (s2 into s1).\n\nft_strncat * - concatenate strings (s2 into s1, size-bounded).\n\nft_strlcpy - size-bounded string copying.\n\nft_strlcat - size-bounded string concatenation.\n\n#Functions from \u003cmath.h\u003e library\n\nft_sqrt * - square root function.\n\nft_pow * - power function.\n\n#Non-standard functions\n\nft_swap * - swap value of two integers.\n\nft_putchar * - output a character to stdout.\n\nft_putchar_fd - output a character to given file.\n\nft_putstr * - output string to stdout.\n\nft_putstr_fd - output string to given file.\n\nft_putendl * - output string to stdout with newline.\n\nft_putendl_fd - output string to given file with newline.\n\nft_putnbr * - output integer to stdout.\n\nft_putnbr_fd - output integer to given file.\n\nft_itoa - convert integer to ASCII string.\n\nft_substr - extract substring from string.\n\nft_strtrim - trim beginning and end of string with the specified characters.\n\nft_strjoin - concatenate two strings into a new string (with malloc).\n\nft_split - split string, with specified character as delimiter, into an array of strings.\n\nft_split_free * - free splitted string.\n\nft_strmapi - create new string from modifying string with specified function.\n\nft_ftoa_rnd - convert float to ASCII string.\n\n#Linked list functions\n\nft_lstnew - create new list.\n\nft_lstsize - count elements of a list.\n\nft_lstlast - find last element of list.\n\nft_lstadd_back - add new element at end of list.\n\nft_lstadd_front - add new element at beginning of list.\n\nft_lstdelone - delete element from list.\n\nft_lstclear - delete sequence of elements of list from a starting point.\n\nft_lstiter - apply function to content of all list's elements.\n\nft_lstmap - apply function to content of all list's elements into new list.\n\nNote: functions marked with * are bonus functions (not mandatory by the project's subject).\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimon-zerisenay%2Flibft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimon-zerisenay%2Flibft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimon-zerisenay%2Flibft/lists"}