Exemplo n.º 1
0
void	meta_affichage(int argc, char **argv, t_file_list *lst, t_build build)
{
	if (search_flags(argv, argc, 'l') == 1)
		aff_extended(lst, build);
	else
		aff_list(lst, build);
}
Exemplo n.º 2
0
int		parse(const char *fmt, va_list args, t_arg *l)
{
	int		len;

	l->len_read++;
	len = 0;
	l = search_flags(l, fmt);
	l = search_prec(l, fmt, args);
	l = search_lenm(l, fmt);
	l = search_conv(l, fmt);
	if (l->conv[0] == '\0')
		return (-1);
	select_print(l, args);
	lst_reset(l);
	return (len);
}