# Re: May sane_init fail?

Tripp Lilley (tlilley@perspex.com)
Sun, 11 Apr 1999 17:15:11 -0400 (EDT)

- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: David Mosberger-Tang: "Re: May sane_init fail?"
- Previous message: David Mosberger-Tang: "Re: sane-pre1.01 problems with dc210"
- In reply to: David Mosberger-Tang: "Re: May sane_init fail?"
- Next in thread: Petter Reinholdtsen: "Re: May sane_init fail?"

On Sun, 11 Apr 1999, David Mosberger-Tang wrote:

> Hmmh, this may well be a typo. I'm quite sure our intention was that
> a frontend does not have to check for the return value of sane_init()
> (i.e., treat it as a void). Note that none of the existing frontends
> check the return status of sane_init(). I think we should correct
> this in v2 of the SANE protocol.

The as-yet unreleased Perl module (SANE.pm) invokes die() if it receives
anything other than SANE_STATUS_GOOD on return from sane_init. But it's
unrelease, so I wouldn't have expected you to know that :-)

    --
       Tripp Lilley + Innovative Workflow Engineering, Inc. + (tripp@iweinc.com)
    ------------------------------------------------------------------------------
    "Keep in mind that the 'story of shrunken heads' is history, not how-to, and
    that it is considered very bad manners indeed to shrink another person's head,
    so don't try this at home... Shrink only apples, please."

     - Brian Carusella in http://www.freeweb.pdq.net/headstrong/shrunken.htm

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

     Next message: David Mosberger-Tang: "Re: May sane_init fail?"
     Previous message: David Mosberger-Tang: "Re: sane-pre1.01 problems with dc210"
     In reply to: David Mosberger-Tang: "Re: May sane_init fail?"

     Next in thread: Petter Reinholdtsen: "Re: May sane_init fail?"