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