DCMD_F3S_SETCMP

Set compresssion on for a flash filesystem

Synopsis:

#include <sys/dcmd_f3s.h>

#define DCMD_F3S_SETCMP    __DIOT(_DCMD_F3S, F3S_SETCMP, f3s_cmdcmp_t)

Arguments to devctl():

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

Description:

This command sets compression on for a flash filesystem.

Input:

A pointer to a f3s_cmdcmp_t structure:

typedef struct f3s_cmdcmp_s
{
  uint32_t status;    /* cmdcmp status */
  uint32_t cmp_flag;  /* compression flag */
}
f3s_cmdcmp_t;

The input isn't actually used.

Output:

None.

See also:

DCMD_F3S_CLRCMP, DCMD_F3S_GETCMP

devctl() in the QNX Neutrino C Library Reference