[BUG] `ft_putchar_fd`, `ft_putstr_fd`, `ft_putendl_fd` and ` ft_putnbr_fd` tests timeout
pioupia opened this issue · 0 comments
pioupia commented
Since the Linux transition for all 42 campus, theses functions timeout without any reason.
It could be a possible bug from all developers in the cursus for the 3 last function, but for ft_putchar_fd
which just write a letter in a file its just impossible.
My code is the following:
#include <unistd.h>
void ft_putchar_fd(char c, int fd)
{
write(fd, &c, 1);
}
We can't say "This code can timeout". I set here the errors: