logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

__set_liberror - modify error handling for publib

Author

       Lars Wirzenius (lars.wirzenius@helsinki.fi)

                                                                                            __SET_LIBERROR(3pub)

Description

       Unless the documentation for the function specifies otherwise, the default action when a library function
       notices  an  error  is  to abort whatever it was doing and return an error indication.  It is possible to
       change this behaviour with __set_liberror(3).  The argument should be  a  bitwise  OR  of  the  following
       values:

            __abort_on_error
            __exit_on_error
            __complain_on_error

       Note that __abort_on_error and __exit_on_error are
       mutually exclusive, only use one.

Name

       __set_liberror - modify error handling for publib

See Also

publib(3)

Synopsis

       #include <publib.h>

       void __set_liberror(enum __liberror);

See Also