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