I need to implement own ls utility in C. And I faced with a first problem - the output. Original ls prints files and dirs in multicolumn, like this:
file1.txt file