DCMD_F3S_GETCMP
QNX SDP8.0Devctl and Ioctl CommandsDeveloper
Get the compresssion setting for a flash filesystem
Synopsis:
#include <sys/dcmd_f3s.h>
#define DCMD_F3S_GETCMP    __DIOTF(_DCMD_F3S, F3S_GETCMP, f3s_cmdcmp_t)
Arguments to devctl():
| Argument | Value | 
|---|---|
| filedes | A file descriptor that you obtained by opening the device. | 
| dcmd | DCMD_F3S_GETCMP | 
| 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 gets the compression setting for a flash filesystem.
Input:
A f3s_cmdcmp_t structure:
typedef struct f3s_cmdcmp_s
{
  uint32_t status;    /* cmdcmp status */
  uint32_t cmp_flag;  /* compression flag */
}
f3s_cmdcmp_t;
Output:
If cmd_flag is nonzero, the filesystem is compressed.
See also:
DCMD_F3S_CLRCMP, DCMD_F3S_SETCMP
devctl() in the QNX OS C Library Reference
Page updated: 
