tcsetpgrp(3): Return EINVAL upon invalid process group id.
authorStathis Kamperis <beket@dragonflybsd.org>
Sat, 25 Jul 2009 20:03:40 +0000 (23:03 +0300)
committerStathis Kamperis <beket@dragonflybsd.org>
Sat, 25 Jul 2009 20:03:40 +0000 (23:03 +0300)
commit3e28fb5cdfd8cf89f7293661a2d0c85012a04453
treef966cf1bee2087b6ef52bfa3af99877b42234535
parentae2e8c203fb318f2e2782d12307df51837825d6f
tcsetpgrp(3): Return EINVAL upon invalid process group id.

POSIX mandates it and our man page advertises that we do it already.

DragonFly-bug: <http://bugs.dragonflybsd.org/issue1421>
Partially reviewed-by: dillon@
sys/kern/tty.c