So, this is enough to start implementing ls.
main() opendir() while ( readdir() ) print d_name closedir() return 0