pipex/libft/tests/mandatory/putchar_fd/test15.c

31 lines
1.1 KiB
C
Raw Normal View History

2023-03-07 05:24:59 +01:00
/* ************************************************************************** */
/* */
2023-10-26 18:33:37 +02:00
/* :::::::: */
/* test15.c :+: :+: */
/* +:+ */
/* By: houtworm <codam@houtworm.net> +#+ */
/* +#+ */
/* Created: 2023/02/21 02:58:12 by houtworm #+# #+# */
/* Updated: 2023/10/18 17:10:29 by houtworm ######## odam.nl */
2023-03-07 05:24:59 +01:00
/* */
/* ************************************************************************** */
#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);
}