in reply to Re: using Linux getdents syscall
in thread using Linux getdents syscall
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
---------------------------------
"You have enemies? Good. That means you've stood up for something, sometime in your life." - Sir Winston Churchill
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: using Linux getdents syscall
by andal (Hermit) on Nov 25, 2015 at 07:50 UTC |
In Section
Seekers of Perl Wisdom