used str-two-way.h version from newlib that has permissive, BSD-like license