#include <sys/stat.h>

 

printf("%d", fileInfo.st_size); 는 파일 사이즈 표시하는데

 

이런걸로

 

-rwxrw---x 이런거 출력하는 법좀요