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