POSIX's lseek does indeed suffer of the same flaw and returns a negative integer.
I guess you're right: unless some other monk comes up with a miraculous solution, I'll stick with with a call to the VMS system.
Thank you for your help.
Update: fixed a typo.
In reply to Re^2: Integer overflow in -s or file stat results
by Laurent_R
in thread Integer overflow in -s or file stat results
by Laurent_R
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |