intra to gitea

This commit is contained in:
lfirmin
2025-11-16 09:58:07 +01:00
commit 50c15b30e1
163 changed files with 12672 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_print_ith.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lfirmin <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/19 04:44:27 by lfirmin #+# #+# */
/* Updated: 2024/06/19 04:49:51 by lfirmin ### ########.fr */
/* */
/* ************************************************************************** */
#include "ftprintf.h"
int ft_print_ith(int fd, unsigned int nbr, const char str)
{
if (nbr == 0)
return (write(fd, "0", 1));
ft_conv_ith(fd, nbr, str);
return (ft_hex_len(nbr));
}