Skip to content

pmerku/custom_libc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom_libc

Reimplementation of some C/CPP standard functions and templates

List of functions to add:

ft_stdlib.h

  • ft_atoi_base
  • ft_atol | ft_atoll
  • ft_atol_base | ft_atoll_base

ft_unistd.h

  • ft_putnbr_fd_base

ft_libft.h

  • ft_ltoa | ft_lltoa
  • ft_ltoa_base | ft_lltoa_base

Building the library

mkdir cmake
cmake .. && make

To test the library run make test. (Sidenote: Most of the functions aren't present in the unit test and some documentation is missing, just use the standard libraries :P)

Contribute

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.