pack('sslllli',
Aside from the fact that it's very weird that you're mixing specific width specifiers (like "l") with loose width specifiers (like "i"), "ll" is not right. Won't handle negative offsets.
Which makes me wonder wheter or not there is a better way to accomplish what the op wants..
Use C to create the structure.
In reply to Re^4: fcntl failure after eval
by ikegami
in thread fcntl failure after eval
by flipper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |