Created
August 7, 2019 20:24
-
-
Save mokolodi1/c74f98612facc4de22098cd48a590e08 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void ft_putchar(char c) | |
{ | |
write(1, &c, 1); | |
} | |
void ft_putstr(char *str) | |
{ | |
int i = 0; | |
while (str[i] != '\0') | |
{ | |
ft_putchar(str[i]); | |
i++; | |
} | |
return ; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment