Notes on threads
Import http://cgit.haiku-os.org/haiku/plain/src/system/libroot/posix/stdio/fgets.c
Dummy local.h
Define _p, and _r for fgets
Move shiri.c to counter
Import http://cgit.haiku-os.org/haiku/plain/src/system/libroot/posix/stdio/glue.h
Import http://cgit.haiku-os.org/haiku/plain/src/system/libroot/posix/stdio/fwalk.c
Dummy errno_private
Define _flags
Define NULL for stdio
Import dummy from http://cgit.haiku-os.org/haiku/plain/src/system/libroot/posix/stdio/flockfile.c
Usual suspects
MakeFile