3 ms·
I would consider "ls" a presentation tool that uses an API to present information about a file system. I would consider stat/lstat/opendir/readdir/closedir the
by randomswede 5y ago
I would consider "ls" a presentation tool that uses an API to present information about a file system. I would consider stat/lstat/opendir/readdir/closedir the API that "ls" use to gather the information.
- monocasa 5y agoWhen you combine it with shell scripts, I'd say that ls is an API to itself.