[cs631apue] For help!

Jan Schaumann jschauma at stevens.edu
Sun Sep 16 14:10:13 EDT 2012


yluo4 <yluo4 at stevens.edu> wrote:
> Hi! Could anyone tell me if function open() can open a directory?   

Well, it _can_, but you wouldn't use it to for this purpose.  The proper
way to handle directories is shown in the first lecture's 'simple-ls.c'
program.

-Jan


More information about the cs631apue mailing list