directory - linux readdir - Are the entries "." and ".." always read first? -
possible duplicate:
does readdir() guarantee order?
i'm guessing isn't case, , i'd need manually check name of each entry instead of skipping first couple. correct?
the posix standard not guarantee order of directory entries whatsoever. such, if you're interested in filtering out .
, ..
, need compare them.
Comments
Post a Comment