29 lines
1.1 KiB
C
29 lines
1.1 KiB
C
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* .--. _ */
|
||
|
/* outputpointer.c |o_o || | */
|
||
|
/* |:_/ || |_ _ ___ __ */
|
||
|
/* By: houtworm <codam@houtworm.net> // \ \ __| | | \ \/ / */
|
||
|
/* (| | )|_| |_| |> < */
|
||
|
/* Created: 2023/02/25 17:07:23 by houtworm /'\_ _/`\__|\__,_/_/\_\ */
|
||
|
/* Updated: 2023/03/01 22:39:54 by djonker \___)=(___/ */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
|
||
|
#include "../tmp/ft_printf.h"
|
||
|
#include <stdio.h>
|
||
|
#include <string.h>
|
||
|
|
||
|
int main(int argc, char **argv)
|
||
|
{
|
||
|
char *s;
|
||
|
|
||
|
alarm(5);
|
||
|
s = strdup(argv[2]);
|
||
|
ft_printf(argv[1], s);
|
||
|
ft_printf("\n");
|
||
|
printf(argv[1], s);
|
||
|
free(s);
|
||
|
return (0);
|
||
|
}
|