Something went wrong. Try again.
My solution for the ft_printf assignment.
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637/* ************************************************************************** *//* *//* ::: :::::::: *//* ft_printf.h :+: :+: :+: *//* +:+ +:+ +:+ *//* By: gvoelkne <marvin@42.fr> +#+ +:+ +#+ *//* +#+#+#+#+#+ +#+ *//* Created: 2026/04/29 09:07:17 by gvoelkne #+# #+# *//* Updated: 2026/05/07 09:27:49 by gvoelkne ### ########.fr *//* *//* ************************************************************************** */
#ifndef FT_PRINTF_H# define FT_PRINTF_H# include <stddef.h># include <stdint.h># include <stdio.h># include <stdlib.h># include <unistd.h>
void *ft_calloc(size_t nmemb, size_t size);
unsigned int ft_calc_digits(unsigned long num, int base);size_t ft_strlen(const char *str);char *ft_strlower(char *str);char *ft_strdup(const char *str);int ft_strcontains(const char *str, char c);
char *ft_ntoa(long num, int base);char *ft_untoa(unsigned long num, int base);
int ft_putptr(void *ptr);
int ft_printf(const char *s, ...);
#endif