Function ft_strtrim now allocates exactly the memory needed for the resulting string.
authorLukas Jiriste <ljiriste@student.42prague.com>
Wed, 16 Aug 2023 15:41:49 +0000 (17:41 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Wed, 16 Aug 2023 15:41:49 +0000 (17:41 +0200)
commita31e4dce0ec83817e060c603266fdc134f3bc5c8
treeb06861ef9883fabde07e0b86caace2f470423b84
parent1827eed14dae113a5b1ebf05e7f1abc0a96a9f5b
Function ft_strtrim now allocates exactly the memory needed for the resulting string.
?inor changes were also made to make the code more consistent.
ft_memmove.c
ft_strncmp.c
ft_strrchr.c
ft_strtrim.c