-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfileinfo_format_nlinks.c
18 lines (16 loc) · 1017 Bytes
/
fileinfo_format_nlinks.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* fileinfo_format_nlinks.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: alischyn <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/03/24 17:15:15 by alischyn #+# #+# */
/* Updated: 2017/03/24 17:28:56 by alischyn ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_ls.h"
void fileinfo_format_nlinks(t_fileinfo *fi)
{
ft_sprintf(fi->fmt_nlinks, "%d ", fi->stat.st_nlink);
}