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 8 Current »

File

Called from

Code enabled by

fs_dev.c

Application

N/A

Acquire exclusive access to a device. See also Raw Device I/O.

Arguments

name_dev

Device name.

timeout

Time to wait for a lock in milliseconds.

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

FS_ERR_OS_LOCK

Error acquiring device access lock.

FS_ERR_OS_LOCK_TIMEOUT

Time-out waiting for device access lock.

Returned Value

None.

Notes/Warnings

None.

  • No labels