This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
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