add: strerror function has been added.