Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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).

Arguments

dev_nbr

Device number.

name_dev

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

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.
    • No labels