fix norm and mandatory done
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/12/03 13:20:54 by tomoron #+# #+# */
|
||||
/* Updated: 2024/12/03 13:23:31 by tomoron ### ########.fr */
|
||||
/* Updated: 2024/12/04 18:52:46 by tomoron ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -18,3 +18,9 @@ size_t align(size_t nb, size_t align_nb)
|
||||
nb = nb + (align_nb - (nb % align_nb));
|
||||
return (nb);
|
||||
}
|
||||
|
||||
void invalid_pointer(char *fnc)
|
||||
{
|
||||
write(2, fnc, ft_strlen(fnc));
|
||||
write(2, "(): invalid pointer\n", 21);
|
||||
}
|
||||
|
Reference in New Issue
Block a user