netwhat/libft/tests/mandatory/putchar_fd/test15.c
2023-03-07 05:20:37 +01:00

31 lines
1.1 KiB
C

/* ************************************************************************** */
/* */
/* .--. _ */
/* test15.c |o_o || | */
/* |:_/ || |_ _ ___ __ */
/* By: houtworm <codam@houtworm.net> // \ \ __| | | \ \/ / */
/* (| | )|_| |_| |> < */
/* Created: 2023/02/21 02:58:12 by houtworm /'\_ _/`\__|\__,_/_/\_\ */
/* Updated: 2023/02/23 21:32:37 by houtworm \___)=(___/ */
/* */
/* ************************************************************************** */
#include "../../tmp/libft.h"
#include <stdio.h>
int main(void)
{
int i;
char *str;
i = 32;
str = malloc(8 * 200);
while (i < 232)
{
ft_putchar_fd(i, 1);
i++;
}
free (str);
return (0);
}