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