good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: using Linux getdents syscallby andal (Hermit) |
on Nov 25, 2015 at 07:50 UTC ( [id://1148578]=note: print w/replies, xml ) | Need Help?? |
I've already put it in the code. The variable $len contains total length of single dirent structure. So, all you have to do is to remove this many bytes from the beginning of the buffer.
In Section
Seekers of Perl Wisdom
|
|