Refnum to Path

Returns the path associated with the specified refnum.

refnum is the refnum of an open file whose associated path you want to determine. If refnum is not a valid refnum, this function sets path to Not A Path, meaning refnum is not associated with any open file. You can wire only file refnums to refnum. You cannot wire configuration file refnums to refnum.
path is the corresponding path to refnum.