-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_printf_flags_init.c
More file actions
29 lines (26 loc) · 1.12 KB
/
ft_printf_flags_init.c
File metadata and controls
29 lines (26 loc) · 1.12 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
25
26
27
28
29
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf_flags_init.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dporhomo <dporhomo@student.42prague.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/12/04 12:46:15 by dporhomo #+# #+# */
/* Updated: 2025/12/09 10:25:50 by dporhomo ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
t_flags ft_flags_init(void)
{
t_flags flags;
flags.spec = 0;
flags.precision = -1;
flags.width = 0;
flags.star = 0;
flags.plus = 0;
flags.zero = 0;
flags.space = 0;
flags.hash = 0;
flags.left = 0;
return (flags);
}