Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
void  FSDev_GetDevName (FS_QTY     dev_nbr,
                        CPU_CHAR  *name_dev);

File

Called from

Code enabled by

fs_dev.c

Application

N/A

Get name of the nth open device. dev_nbr should be between 0 and the return value of FSDev_GetNbrDevs() (inclusive).

...

Returned Value

None.

Notes/Warnings

  • name_dev must point to a character array of FS_CFG_MAX_DEV_NAME_LEN characters.
  • If the device does not exist, name_dev will receive an empty string.