parent_len — find the length of the parent portion of a pathname
intparent_len(
)
const char * path
pathname of which to determine length