Aye, sorry, scratch my hasty that. The syscall() must return a good value. OP problem seems to be in the unpack template. Should try native types instead: "L!L!SZ*". Perl L is 4 bytes...
In reply to Re^3: failing to use getdents system call on Linux
by Anonymous Monk
in thread failing to use getdents system call on Linux
by glasswalk3r
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |