move string conversion functions to stdlib.h