This function returns the canonicalized absolute pathname of pathname
relative to this Dir
. If pathname
is absolute, ignores this Dir
handle and returns the canonicalized absolute pathname of pathname
argument. This function is not universally supported by all platforms. Currently supported hosts are: Linux, macOS, and Windows. See also Dir.realpathZ
, Dir.realpathW
, and Dir.realpathAlloc
.