To say simply and simultaneously fully: _lseek and _lseeki64 (these powerful functions) are OK for moving file pointer upward as well as backward.