The text bfbccf2f8965, as FreeBSD 4.2-RELEASE shipped it.
extract the directory portition of a pathname
dirname(3) on FreeBSD now