Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: using Linux getdents syscallby glasswalk3r (Friar) |
on Nov 24, 2015 at 12:18 UTC ( [id://1148497]=note: print w/replies, xml ) | Need Help?? |
Thanks for the tips! Considering that $buf might have multiple dentries inside of it, how do I navigate thru all those records? For C is easy because I'm accessing memory directly, but how do I know how many bytes I should read from $buf and how to move to the next record with Perl?
Alceu Rodrigues de Freitas Junior --------------------------------- "You have enemies? Good. That means you've stood up for something, sometime in your life." - Sir Winston Churchill
In Section
Seekers of Perl Wisdom
|
|