sys_errlist is indexed by errno and contains the appropriate error message. Where can I see the contents of this list?
sys_errlist is indexed by errno and contains the appropriate error message. Where can I
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Probably in some system header file included somehow by
<errno.h>. If you want to print its full content you can easily do it with a small program:(
sys_nerris defined as the number of entries insys_errlist)Still, keep in mind that, according to my manpages,
perrororstrerrorshould be preferred since