added more libc functions.