2N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A#include "libuutil_common.h"
2N/A#if !defined(TEXT_DOMAIN)
2N/A * libuutil.so when the build machine has not yet been upgraded
#if defined(PTHREAD_ONCE_KEY_NP)
if (thr_main() != 0) {
#if defined(PTHREAD_ONCE_KEY_NP)
if (uu_error_key_setup == 0) {
if (uu_error_key_setup == 0) {
if (uu_error_key_setup > 0)
if (thr_main() != 0)
return (_uu_main_error);
return (UU_ERROR_UNKNOWN);
switch (code) {
case UU_ERROR_NONE:
case UU_ERROR_UNKNOWN_FLAG:
case UU_ERROR_NO_MEMORY:
case UU_ERROR_CALLBACK_FAILED:
case UU_ERROR_NOT_SUPPORTED:
case UU_ERROR_EMPTY:
case UU_ERROR_UNDERFLOW:
case UU_ERROR_OVERFLOW:
case UU_ERROR_INVALID_CHAR:
case UU_ERROR_INVALID_DIGIT:
case UU_ERROR_SYSTEM:
case UU_ERROR_UNKNOWN:
return (str);
if (uu_panic_thread == 0) {
abort();
(void) pause();
#if !defined(PTHREAD_ONCE_KEY_NP)
#if !defined(PTHREAD_ONCE_KEY_NP)
uu_panic_thread = 0;
uu_release();
const unsigned char *p = buf;