Name

mk_canonical_path — Canonicalize file system path

Synopsis

mk_canonical_path path

Description

Sets result to the canonical version of path. A canonical path is absolute and contains no symlinks.

Returns 1 (logical false) if the path is invalid, or 0 (logical true) otherwise.