From musl
Created by: jroivas
Most of this code is copied from musl.
- Copy glob from musl and add support for GLOB_BRACE
- Copy nftw, and add support for FTW_ACTIONRETVAL, FTW_SKIP_SUBTREE and FTW_SKIP_SIBLINGS
- Simple wrappers for strtoll_l and strtoull_l ignoring locale