add optional argument to errno() for setting it, and update docs. fixes #5514
Merge branch 'master' of github.com:JuliaLang/julia

Conflicts:
	doc/stdlib/base.rst