diff options
Diffstat (limited to 'exam00/cacharle/ft_putstr')
| -rwxr-xr-x | exam00/cacharle/ft_putstr/ft_putstr.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/exam00/cacharle/ft_putstr/ft_putstr.c b/exam00/cacharle/ft_putstr/ft_putstr.c new file mode 100755 index 0000000..aea8468 --- /dev/null +++ b/exam00/cacharle/ft_putstr/ft_putstr.c @@ -0,0 +1,10 @@ +#include <unistd.h> + +void ft_putstr(char *str) +{ + while (*str) + { + write(1, str, 1); + str++; + } +} |
