On Mon, 16 Nov 2015 14:44:03 +0000, Scott Lurndal wrote:
>>How do I read the contents of a directory in Ubuntu 14.04?
>
> man readdir
man 3 readdir
Otherwise you might get the section 2 page. Which, to be fair, starts off
with:
DESCRIPTION
This is not the function you are interested in. Look at readdir(3) for
the POSIX conforming C library interface.