HomeFreeBSD

Call basename() and dirname() in the POSIXly correct way.

Description

Call basename() and dirname() in the POSIXly correct way.

Pull copies of the input string, as these functions are allowed to
modify them. Free the copies after creating the new pathname string.

Details

Provenance
edAuthored on
Parents
rS303444: Call basename() in a portable way.
Branches
Unknown
Tags
Unknown