DCMD_F3S_UNLOCKALL

Unlock all flash filesystem partitions

Synopsis:

#include <sys/dcmd_f3s.h>

#define DCMD_F3S_UNLOCKALL __DIOT(_DCMD_F3S, F3S_UNLOCKALL, f3s_arrayunlock_t)

Arguments to devctl():

Argument Value
filedes A file descriptor that you obtained by opening the device.
dcmd DCMD_F3S_UNLOCKALL
dev_data_ptr A pointer to a f3s_arrayunlock_t structure
n_bytes sizeof(f3s_arrayunlock_t)
dev_info_ptr NULL

Description:

This command unlocks all the partitions in a flash filesystem.

Input:

A f3s_arrayunlock_t structure:

typedef struct f3s_arrayunlock_s
{
  uint32_t status;  /* unlock status */
}
f3s_arrayunlock_t;

Output:

None.

See also:

DCMD_F3S_LOCK, DCMD_F3S_UNLOCK

devctl() in the QNX Neutrino C Library Reference