[about the return value of sane_init]
On Fri, May 11, 2001 at 07:13:15PM +0200, Henning Meier-Geinitz wrote:
> 4.3.1 sane_init
> This function must be called before any other SANE function can be
> called. The behavior of a SANE backend is undefined if this function
> is not called first, or if the returned status is anything other then
> [...] The returned strings must be ASCII-NUL terminated.
> This function may fail with one of the following status codes.
> The operation is not supported for the current configuration.
> An insufficent amount of memory is available.
Another return value that is currently in use is SANE_STATUS_INVAL
(snapscan, if V_MAJOR != major version of backend).
Should we add the text above about the return status to the standard?
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail firstname.lastname@example.org
This archive was generated by hypermail 2b29 : Sat May 19 2001 - 09:47:46 PDT