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