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