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