Is errno something that I have to modify, or is it automatically modified when certain commands are executed?
So if I just did something, and then printed strerror(errno) would it know what error to print out?
Also - what happens if I have an empty strerror() ? Will it cause an error or what is its behavoir?
thanks!!
So if I just did something, and then printed strerror(errno) would it know what error to print out?
Also - what happens if I have an empty strerror() ? Will it cause an error or what is its behavoir?
thanks!!
Comment