Added fgetpos to std.cfg and corresponding test cases.