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