This commit is contained in:
tosu 2023-03-30 18:04:00 +02:00
commit 116f28529e
2 changed files with 16 additions and 0 deletions

BIN
ex00/a.out Executable file

Binary file not shown.

View File

@ -0,0 +1,16 @@
#include <unistd.h>
void ft_putstr(char *str)
{
while (*str)
write(1, str++, 1);
}
int main(int argc, char **argv)
{
(void) argc;
(void) argv;
ft_putstr(argv[0]);
ft_putstr("\n");
return (0);
}