Skip to content

This project's files are arranged as they were supposed to be turned in to the vogsphere repository. However, they will contain additional functions that are not required in the original Libft project.

License

Notifications You must be signed in to change notification settings

ellldar/libft-wip-version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Libft - WIP Version

This is the version of my Libft library that I am going to be constantly modifying as I progress through the 42 curriculum. It might end up being completely different compared to what was originally required in the Libft Project

Additions to the Libft

In this part I will list and describe new functions that I have included in this library since the original Libft Library

  • ft_lstpop

I have added the ft_lstpop function which just adds some more functionality to the original ft_lstdelone and ft_lstdel functions. It removes one element of the linked list t_list **elem and points the next pointer of the previous element to the one that follows the elem.

void    ft_lstpop(t_list **alst, t_list **elem, void (*del)(void *, size_t));
  • get_next_line

get_next_line() is a function that returns a line ending with a newline, read from a file descriptor

int     get_next_line(const int fd, char **line)
  • ft_atoi_base

ft_atoi_base() is a function that converts the string argument str (base N <= 16) to an integer (base 10) and returns it.

int     ft_atoi_base(const char *str, int str_base)

About

This project's files are arranged as they were supposed to be turned in to the vogsphere repository. However, they will contain additional functions that are not required in the original Libft project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published