Automatic add

This commit is contained in:
tosu 2023-03-30 18:12:54 +02:00
parent 65ac4db8d7
commit 36db12724f
1 changed files with 23 additions and 9 deletions

View File

@ -1,16 +1,30 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_print_program_name.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tosuman </var/spool/mail/tosuman> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/30 18:07:58 by tosuman #+# #+# */
/* Updated: 2023/03/30 18:07:59 by tosuman ### ########.fr */
/* */
/* ************************************************************************** */
#include <unistd.h>
void ft_putstr(char *str)
void ft_putstr(char *str)
{
while (*str)
write(1, str++, 1);
while (*str)
write(1, str++, 1);
}
int main(int argc, char **argv)
/* ////
int main(int argc, char **argv)
{
(void) argc;
(void) argv;
ft_putstr(argv[0]);
ft_putstr("\n");
return (0);
(void) argc;
(void) argv;
ft_putstr(argv[0]);
ft_putstr("\n");
return (0);
}
*/ ////