The text 670629fefd9f, as FreeBSD 12.4-RELEASE shipped it.
get parent or calling process identification
getpid(2) on FreeBSD now