42-archive/ls/src/ft_ls_short.c
2016-11-07 17:54:30 +01:00

23 lines
1 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_ls_short.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jhalford <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/11/07 14:56:28 by jhalford #+# #+# */
/* Updated: 2016/11/07 15:29:56 by jhalford ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_ls.h"
void ft_ls_short(t_list *ent)
{
while (ent)
{
ft_lsdata_filename(ent->content);
ft_printf("\n");
ent = ent->next;
}
}