[sane-devel] sane_read() parameters

m. allan noah kitno455 at gmail.com
Tue Mar 8 13:06:59 UTC 2016

maxlen is provided by the caller of the function, to tell the backend
how much memory the caller has allocated for image data.


On Tue, Mar 8, 2016 at 3:09 AM, ky gcp <kygcpsample at gmail.com> wrote:
> hi,
> how is the argument maxlen determined in sane_read() function?
> SANE_Status sane_read (SANE_Handle h, SANE_Byte * buf, SANE_Int maxlen,
> SANE_Int * len);
> Thanks for your help.
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org

"well, I stand up next to a mountain- and I chop it down with the edge
of my hand"

More information about the sane-devel mailing list