-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_per.c
21 lines (19 loc) · 1.01 KB
/
get_per.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_per.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rnishimo <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/12/03 07:38:27 by rnishimo #+# #+# */
/* Updated: 2021/12/03 08:49:41 by rnishimo ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
void get_per(t_str *st_str)
{
st_str->str = ft_strdup("%");
if (st_str->str == NULL)
return ;
st_str->size = 1;
}