Set compresssion on for a flash filesystem
#include <sys/dcmd_f3s.h> #define DCMD_F3S_SETCMP __DIOT(_DCMD_F3S, F3S_SETCMP, f3s_cmdcmp_t)
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 |
This command sets compression on for a flash filesystem.
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.
None.