| 123456789101112131415161718192021222324 |
- /* ************************************************************************** */
- /* */
- /* ::: :::::::: */
- /* ft_putstr.c :+: :+: :+: */
- /* +:+ +:+ +:+ */
- /* By: bchanot <bchanot@students.42.fr> +#+ +:+ +#+ */
- /* +#+#+#+#+#+ +#+ */
- /* Created: 2015/11/25 16:39:48 by bchanot #+# #+# */
- /* Updated: 2016/06/15 19:07:37 by bchanot ### ########.fr */
- /* */
- /* ************************************************************************** */
- #include "libft.h"
- #include <unistd.h>
- void ft_putstr_fd(char const *s, int fd)
- {
- write(fd, s, ft_strlen(s));
- }
- void ft_putstr(const char *s)
- {
- write(1, s, ft_strlen(s));
- }
|