rename all error_t to err_t to avoid type conflict with POSIX standard name
enable nanolib for gcc makefile
add _write function
disable puts