implement flockfile api, rework stdio locking
[musl] / src / thread / clone.c