Hey,

What's the point you're trying to make?  That substdio_* have
consistent error reporting by return value, while printf does not?

Also, as asides,
Why are logerr, and logerrf declared in K&R style?
What's "qmail-cat"?

On Sat, Oct 3, 2009 at 11:28 AM, Manvendra Bhangui <[email protected]> wrote:
> void
> my_error(char *s1, char *s2, int exit_val)
> {
>    logerr(s1);
>    logerr(": ");
>    if (s2)
>    {
>        logerr(s1);

This should be `s2', I guess.

>        logerr(": ");
>    }
>    logerr(error_str(errno));
>    logerrf("\n");
>    _exit(exit_val);
> }
>

You've snipped context, so maybe you're trying to followup on a point
you made in another thread?

Roshan Mathews
_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to