ex00
This commit is contained in:
commit
116f28529e
Binary file not shown.
|
@ -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);
|
||||
}
|
Loading…
Reference in New Issue