-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprint_string.c
21 lines (19 loc) · 1011 Bytes
/
print_string.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* print_string.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: alouzizi <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/11/23 19:47:46 by alouzizi #+# #+# */
/* Updated: 2021/11/23 20:43:16 by alouzizi ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
int print_string(char *s)
{
if (!s)
s = "(null)";
ft_putstr(s);
return (ft_strlen(s));
}