use lighter internal stdio lock in getopt error printing
authorRich Felker <dalias@aerifal.cx>
Tue, 11 Sep 2018 03:04:42 +0000 (23:04 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 12 Sep 2018 18:34:33 +0000 (14:34 -0400)
commitcf7db2427f99d784f3d27a4036c1abf41c61db87
tree6e8deaa6c1e28dd8ab3615d9de4aa316e7b7dd3b
parent7ab1578d05f5d6790e218867158a28d9147419ec
use lighter internal stdio lock in getopt error printing

the public flockfile interface is significantly heavier because it has
to handle the possibility of caller returning or thread exiting while
holding the lock.
src/misc/getopt.c