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