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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -