DCMD_F3S_UNLOCK
QNX SDP8.0Devctl and Ioctl CommandsDeveloper
Unlock a flash filesystem partition
Synopsis:
#include <sys/dcmd_f3s.h>
#define DCMD_F3S_UNLOCK    __DIOT(_DCMD_F3S, F3S_UNLOCK, f3s_unitunlock_t)
Arguments to devctl():
| Argument | Value | 
|---|---|
| filedes | A file descriptor that you obtained by opening the device. | 
| dcmd | DCMD_F3S_UNLOCK | 
| dev_data_ptr | A pointer to a f3s_unitunlock_t | 
| n_bytes | sizeof(f3s_unitunlock_t) | 
| dev_info_ptr | NULL | 
Description:
This command unlocks a flash filesystem partition.
Input:
A f3s_unitunlock_t structure:
typedef struct f3s_unitunlock_s
{
  uint32_t status;  /* unlock status */
  uint32_t offset;  /* offset of first unit expressed in bytes */
  uint32_t limit;   /* limit of last unit expressed in bytes */
}
f3s_unitunlock_t;
Output:
None.
See also:
DCMD_F3S_LOCK, DCMD_F3S_UNLOCKALL
devctl() in the QNX OS C Library Reference
Page updated: 
