Re: [RFC PATCH 4/6] seq_file: add function to write binary data
From: Alexey Dobriyan
Date: Wed May 07 2008 - 15:50:41 EST
On Thu, May 08, 2008 at 12:17:57AM +0400, Alexey Dobriyan wrote:
> > > + memcpy(m->buf + m->count, s, len);
> > > + m->count += len;
> > > + return 0;
> > > + }
> > > + m->count = m->size;
> > > + return -1;
> > > +}
> > > +EXPORT_SYMBOL(seq_write);
>
> I'd call function seq_memcpy() though.
Or even seq_blob().
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/