libft
ft_putnstr.c
Go to the documentation of this file.
1 /* ************************************************************************** */
3 /* */
4 /* ::: :::::::: */
5 /* ft_putnstr.c :+: :+: :+: */
6 /* +:+ +:+ +:+ */
7 /* By: unite <marvin@42.fr> +#+ +:+ +#+ */
8 /* +#+#+#+#+#+ +#+ */
9 /* Created: 2019/09/28 22:32:01 by unite #+# #+# */
10 /* Updated: 2020/07/16 02:53:40 by unite ### ########.fr */
11 /* */
12 /* ************************************************************************** */
13 
14 #include "libft.h"
15 #include <unistd.h>
16 
24 void ft_putnstr(char *s, size_t n)
25 {
26  write(1, s, n);
27 }
libft.h
ft_putnstr
void ft_putnstr(char *s, size_t n)
Writes the first n characters of a to the standard output.
Definition: ft_putnstr.c:24