The text b0189439be7c, as FreeBSD 9.1-RELEASE shipped it.
get foreground process group ID
tcgetpgrp(3) on FreeBSD now