Y
Hacker News
new
|
ask
|
show
|
jobs
by
randomswede
1693 days 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.
1 comments
monocasa
1692 days ago
When you combine it with shell scripts, I'd say that ls is an API to itself.
link