Home | History | Annotate | Download | only in mDNSShared

Lines Matching refs:ERRNO

468 	@abstract	Returns 0 if the test success. If the test fails, returns errno if non-zero and othewise the alternate error.
471 #define translate_errno( TEST, ERRNO, ALTERNATE_ERROR ) ( ( TEST ) ? 0 : ( ERRNO ) ? ( ERRNO ) : ( ALTERNATE_ERROR ) )
672 @abstract Check a condition and prints errno (if non-zero) to the log.
681 #define check_translated_errno( TEST, ERRNO, ALTERNATE_ERROR ) \
688 localErr = (int_least32_t)( ERRNO ); \
695 #define check_translated_errno( TEST, ERRNO, ALTERNATE_ERROR )
1093 #define ensure_translated_errno( TEST, ERRNO, ALTERNATE_ERROR ) check_translated_errno( TEST, ERRNO, ALTERNATE_ERROR )