Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


When you combine it with shell scripts, I'd say that ls is an API to itself.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: