On Mon, Aug 22, 2016 at 09:55:12AM +0200, Reda Sallahi wrote:
> +static int img_dd_oflag(const char *arg,
> +struct DdIo *in, struct DdIo *out,
> +struct DdInfo *dd)
> +{
> +const char *tok;
> +char *str, *tmp;
> +int ret = 0;
> +const
This adds the iflag and oflag options which defines the list of flags used
for reading and writing respectively. The list is comma-separated.
The iflag option supports direct, dsync, sync, count_bytes and skip_bytes
and oflag supports direct, dsync, sync and seek_bytes. They are similar to
their c