Skip to content

aallali/libft-but-rusty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Libft But Rusty

A Reimplementation of 42's Common Core Libft in Rust, to learn Rust

re-implementing a set of Libc functions + some others to rust

I tried to follow the same limitations that the 'libft' subject gives us, such as limiting memory allocation in fuctions that don't use it in the libc. However I folowed the originial limitations of the project and their c implementations loosly.

functions:

  • Note: (click on func name to view source code)
  • Note: (🧪): means unit tests are written for the function
  • Note: (click on 🧪 to view unit tests)
  • Note: (): means function under progress

part 1 (output funcs):

  1. output to stdout:
  1. output to file:

part 2 (converters):

part 3 (validators):

  • ft_isalpha
  • ft_isdigit
  • ft_isalnum
  • ft_isascii
  • ft_isprint

part 4 (string handlers):

  • ft_strcmp
  • ft_strncmp
  • ft_strequ
  • ft_strnequ
  • ft_strsub
  • ft_strjoin
  • ft_strtrim
  • ft_strsplit
  • ft_strlen
  • ft_strdup
  • ft_strcpy
  • ft_strncpy
  • ft_strcat
  • ft_strncat
  • ft_strlcat
  • ft_strchr
  • ft_strrchr
  • ft_strstr
  • ft_strnstr

part 5 (memory):

  • ft_memset
  • ft_bzero
  • ft_memcpy
  • ft_memccpy
  • ft_mesmmove
  • ft_memchr
  • ft_memcmp

part 6 (linked lists):

  • ft_lstnew
  • ft_lstdelone
  • ft_lstdel
  • ft_lstadd
  • ft_lstiter
  • ft_lstmap

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages