stdio: handle file position correctly at program exit
[musl] / src / thread / __unmapself.c