PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] Readdir
Date: Friday, 04 Sep 2020, 11:38:48


    > Message Posted By: Unknown
    >
    > Is readdir just reading the (name, inode) pairs (hardlink) in a given
    > directory?

As stated in "man 3 readdir" (its man page), the system
call readdir()) fills the fields of a struct that contains
the inode number and a null-terminated string with a local
name for the file.

--Stan-
PREV INDEX NEXT