[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20040413: uerror() vs. serror().



Stonie,

>Date: Tue, 13 Apr 2004 15:02:36 +0000
>From: Stonie Cooper <address@hidden>
>Organization: Planetary Data, Incorporated
>To: Steve Emmerson <address@hidden>
>Subject: uerror() vs. serror().

The above message contained the following:

> From the LDM ulog.h, what is the difference between the uerror() call
> and the serror() call?  Is it that serror ends up in syslogd, and
> uerror ends up someplace else?  Thanks for any info!

uerror(3) stands for "user error"; serror(3) stands for "system error".
The only difference between the two is that serror(3) automatically
appends the return value of strerror(errno) to the error message.

> Stonie R. Cooper
> Planetary Data, Incorporated
> (402) 727-6599

Regards,
Steve Emmerson