Updated errno doc. Ref #5485
Merge pull request #5488 from ivarne/errno_doc

Updated errno doc. Ref #5485