master
$OpenBSD$
header cleanup
remove prototypes with no matching function and externs with no var partly checked by millert@
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
Quiet a clang warning from -Wstring-plus-int. OK naddy@
man pages: add missing commas between subordinate and main clauses
stty(1) can't be pledged for all modes, but it can be unveiled. the only file to be opened is on stty -f `file', so call unveil(2) afterwards to restrict all fs access.