Add a few new errnos and improve documentation.