F.NAME - get filename given the catalog block.

Usage:

catstack = f.name(dev, sector);

Where:

dev
is the BCD name of the device the block is on.
sector
is the sector of the type 0 or type 2 block.
catstack
is a pointer to a cat/file stack with the pathname for the given type 0 or type 2 block. This is a dynamically allocated vector that can be released with the call "rlsevec(catstack-1, catstack[-1])".

Description:

F.NAME is used to find the pathname of a file or catalog, given the disk address of the catalog block. This might be used to find the pathname associated with a given PAT. If the catalog block is for a released file, the illegal pathname '**released**' is returned. If in tracing back up the catalog structure F.NAME encounters a catalog block of unexpected type, a catalog name of '***unknown**' is supplied and the traceback is terminated.

Copyright © 1996, Thinkage Ltd.