The text 358eaf183b49, as FreeBSD 11.2-RELEASE shipped it.
get working directory pathname
getwd(3) on FreeBSD now