Khaïs COLIN
3f2e2ae0f2
ft_lstdelone: initial implementation
2024-10-21 14:52:20 +02:00
Khaïs COLIN
c3a67f660b
ft_lstadd_back: initial implementation
2024-10-21 13:32:14 +02:00
Khaïs COLIN
a872beadb9
ft_lstlast: initial implementation
2024-10-21 12:12:35 +02:00
Khaïs COLIN
7acdc05a62
ft_lstsize: initial implementation
2024-10-21 11:50:55 +02:00
Khaïs COLIN
a620c3606d
ft_lstadd_front: initial implementation
2024-10-21 11:40:47 +02:00
Khaïs COLIN
8777bfc3c3
ft_lstnew: initial implementation
2024-10-21 11:28:06 +02:00
Khaïs COLIN
2f2623c7bb
libft.a: add s_list structure for bonus
2024-10-21 11:12:31 +02:00
Khaïs COLIN
07704a2d59
ft_putnbr_fd: initial implementation
...
NOTE: When compiling with gcc and checking the produced library with nm,
we get the following output:
ft_putnbr_fd.o:
U ft_putchar_fd
0000000000000000 T ft_putnbr_fd
U __stack_chk_fail
U write
As you can see, there is an undefined function that is used in this
object file, "__stack_chk_fail". This function is not allowed by the
subject! Only write is allowed!
I am told that the moulinette compiles with clang, which does not
exhibit this behaviour. However, it may be that gcc is used instead,
which may cause my project to fail. (Also, an evaluator may mark me down
for that). I don't want either of those two things to happen, so I will
code another implementation which uses recursion, as this kind of
impelmentation does not seem to cause this behaviour with gcc.
Thanks to tchampio for his help debugging this issue.
2024-10-18 16:31:16 +02:00
Khaïs COLIN
b1f1b8a13f
ft_putendl_fd: initial implementation
2024-10-18 15:25:40 +02:00
Khaïs COLIN
81343980be
ft_putstr_fd: initial implementation
2024-10-18 15:20:56 +02:00
Khaïs COLIN
28cadf55f1
ft_putchar_fd: initial implementation
2024-10-18 14:30:13 +02:00
Khaïs COLIN
6a186f7527
ft_striteri: initial implementation
2024-10-18 12:11:55 +02:00
Khaïs COLIN
f2f363518c
ft_strmapi: initial implementation
2024-10-18 11:55:40 +02:00
Khaïs COLIN
08bae77518
ft_itoa: initial implementation
...
I wrote this in a single session, with 0 errors on the first try!
2024-10-17 17:37:10 +02:00
Khaïs COLIN
d1b5c7b687
ft_split: initial implementation
2024-10-17 17:02:35 +02:00
Khaïs COLIN
5ec841de7f
ft_strtrim: initial implementation
2024-10-17 14:11:16 +02:00
Khaïs COLIN
d8ec79480f
ft_strjoin: initial implementation
2024-10-17 12:11:30 +02:00
Khaïs COLIN
7d896b939c
ft_substr: initial implementation
2024-10-17 12:00:30 +02:00
Khaïs COLIN
a20611c09a
ft_strdup: initial implementation
2024-10-17 11:03:37 +02:00
Khaïs COLIN
a38e9e5f94
ft_calloc: initial implementation
2024-10-17 10:42:43 +02:00
Khaïs COLIN
fce032ce2f
ft_atoi: initial implementation
2024-10-16 16:14:58 +02:00
Khaïs COLIN
0a1e2f2b37
ft_strnstr: initial implementation
2024-10-16 15:59:48 +02:00
Khaïs COLIN
1c3df31518
ft_memcmp: initial implementation
...
also fix a small clarity issue in ft_strncmp
2024-10-16 15:34:30 +02:00
Khaïs COLIN
b81ad331b5
chore: use correct size_t instead of t_size
2024-10-16 15:20:28 +02:00
Khaïs COLIN
aad909fe23
ft_memchr: initial implementation
2024-10-16 14:21:59 +02:00
Khaïs COLIN
b176bdaebe
ft_strncmp: initial implementation
2024-10-16 13:47:09 +02:00
Khaïs COLIN
10cf338cbf
ft_strrchr: intial implementation
2024-10-16 10:52:03 +02:00
Khaïs COLIN
3754c47e8c
ft_strchr: initial implementation
2024-10-16 10:46:16 +02:00
Khaïs COLIN
1eb276c8cf
ft_tolower: initial implementation
2024-10-16 10:32:29 +02:00
Khaïs COLIN
21e04cc22c
ft_toupper: initial implementation
2024-10-16 10:28:00 +02:00
Khaïs COLIN
870ce44765
ft_strlcat: initial implementation
2024-10-15 16:17:49 +02:00
Khaïs COLIN
29fbed55a3
correct different arg names in linux and bsd man pages
2024-10-15 14:44:11 +02:00
Khaïs COLIN
b86949e284
ft_memmove: initial implementation
...
This was tricky to visualize, consider bringing pen and paper next time
2024-10-15 14:29:15 +02:00
Khaïs COLIN
2d1581d68d
ft_memcpy: initial implementation
2024-10-15 13:51:09 +02:00
Khaïs COLIN
c820425285
ft_bzero: initial implementation
2024-10-15 11:55:56 +02:00
Khaïs COLIN
872595f75b
ft_memset: initial implementation
2024-10-15 11:19:02 +02:00
Khaïs COLIN
8e87d9f316
norminette: fix it
2024-10-15 10:44:30 +02:00
Khaïs COLIN
66f4981649
ft_strlen: initial implementation
...
also create libft.h
2024-10-15 10:21:37 +02:00