FSDev_Close()

void  FSDev_Close (CPU_CHAR  *name_dev,
                   FS_ERR    *p_err);

File

Called from

Code enabled by

fs_dev.c

Application

N/A

Close and free a device.

Arguments

name_dev

Device name.

p_err

Pointer to variable that will receive return error code from this function :

FS_ERR_NONE

Device removed successfully.

FS_ERR_DEV_NOT_OPEN

Device is not open.

FS_ERR_NAME_NULL

Argument name_dev passed a NULL pointer

Returned Value

None.

Notes/Warnings

None.