-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparser_error.c
More file actions
24 lines (22 loc) · 1.13 KB
/
Copy pathparser_error.c
File metadata and controls
24 lines (22 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* parser_error.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rnishimo <rnishimo@student.42tokyo.jp> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/12/02 01:39:45 by rnishimo #+# #+# */
/* Updated: 2022/01/29 22:25:21 by rnishimo ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
void parse_error(t_str *st_str, t_flag *st_flag)
{
ft_memset(st_str, 0, sizeof(t_str));
ft_memset(st_flag, 0, sizeof(t_flag));
st_str->str = ft_strdup("%");
if (st_str->str == NULL)
return ;
st_str->size = 1;
st_str->specifier = 'c';
}