FSVol_GetVolName()

void  FSVol_GetVolName (FS_QTY     vol_nbr,
                        CPU_CHAR  *name_vol);

File

Called from

Code enabled by

fs_vol.c

Application

N/A

Get name of the nth open volume. vol_nbr should be between 0 and the return value of FSVol_GetNbrVols() (inclusive).

Arguments

vol_nbr

Volume number.

name_vol

String buffer that will receive the volume name (see Note #2).

Returned Value

None.

Notes/Warnings

  1. name_vol must point to a character array of FS_CFG_MAX_VOL_NAME_LEN characters.
  2. If the volume does not exist, name_vol will receive an empty string.