pathname-directory

[procedure] pathname-directory pathname

Chicken: see also pathname-file, pathname-extension, decompose-pathname, pathname-replace-directory.

Some implementations call this dirname, sys-dirname, file-name-directory?.