问题描述
我不得不修改一些错误,或者在执行某些命令时是否会自动修改?
所以,如果我只是做了一些事情,然后打印出strerror(错误)会它知道要打印出什么错误吗?
另外 - 如果我有一个空的strerror会发生什么?它会导致错误或它的行为是什么吗?
谢谢!!
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!!
推荐答案
我做我的研究实际上我花了最后两个小时谷歌搜索并阅读所有相关信息。我头脑中有些问题对我来说并不清楚......而且我很遗憾没有找到答案,或者我已经发布了这条消息。
I DID do my research in fact I spent the last two hours "googling" and reading all about it. I just had some questions in my head that are not clear to me...and I obvoiusly did not find answers to them OR I WOUDN''T HAVE POSTED THIS MESSAGE.
这篇关于帮助strerror(错误)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!