Tiny pieces extracted from MUSL library.

git://git.musl-libc.org/musl
c10bc61508dc52b8315084e628f36a6c3c2dabb1

NOTE: Files was edited.
