DESCRIPTION

The name of the file or device associated with descripter des is copied into
the buffer fd_name. Max_len gives the size of the buffer which will not be
overflowed. The name returned is the "real" name of the file, and thus
"~", "../", etc are expanded. Also, if the file was uncompressed behind the
scenes, then the uncompressed version is provided. The routine
get_user_fd_name can be used to find the name of the file as passed to
kjb_fopen.
This function is not re-entrant (i.e., not thread-safe).

RETURNS

On failure an error message is set, and ERROR is returned. Otherwise
NO_ERROR is retuned.

NOTE

The file must have been opened with kjb_fopen.

DISCLAIMER

This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.