ut_types.cpp File Reference

#include <errno.h>
#include "ut_types.h"


UT_Error UT_errnoToUTError (void)

Function Documentation

UT_Error UT_errnoToUTError ( void   ) 

Convert errno to a UT_Error code

Valid error numbers are all non-zero; errno is never set to zero by any library function. All the error names specified by POSIX.1 must have distinct values.

Referenced by UT_XML::parse(), UT_HTML::parse(), and TFTEST_MAIN().