[comp.unix.wizards] getdents

gwyn@brl-smoke.UUCP (04/17/87)

Does the SVR3 getdents(2) system call ever return directory entries
having d_ino == 0, or does it remove these itself?

pdg@ihdev.ATT.COM (Joe Isuzu) (04/20/87)

In article <5772@brl-smoke.ARPA> gwyn@brl-smoke.UUCP writes:
>Does the SVR3 getdents(2) system call ever return directory entries
>having d_ino == 0, or does it remove these itself?


This would have to be implementation (of filesystem) dependant.  On
the regular SVR3 fs, though it does.  Readdir is guaranteed to filter
out `inactive' entries.

-- 

Paul Guthrie
ihnp4!ihdev!pdg			This Brain left intentionally blank.