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