9512fe850e98fdd448c638ca63fdd92a8a510255ahl * CDDL HEADER START
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * The contents of this file are subject to the terms of the
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * Common Development and Distribution License (the "License").
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * You may not use this file except in compliance with the License.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * See the License for the specific language governing permissions
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * and limitations under the License.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * When distributing Covered Code, include this CDDL HEADER in each
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * If applicable, add the following below this CDDL HEADER, with the
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * fields enclosed by brackets "[]" replaced with your own identifying
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * information: Portions Copyright [yyyy] [name of copyright owner]
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * CDDL HEADER END
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * Gets the default error string for the given errno.
switch (err) {
case EASR_NONE:
case EASR_NOMEM:
case EASR_USAGE:
case EASR_UNKNOWN:
case EASR_UNSUPPORTED:
case EASR_ZEROSIZE:
case EASR_OVERSIZE:
case EASR_NULLDATA:
case EASR_NULLFREE:
case EASR_MD_NODATA:
case EASR_PROP_USAGE:
case EASR_PROP_NOPROP:
case EASR_PROP_SET:
case EASR_SC:
case EASR_SC_RESOLV_PROXY:
case EASR_SC_RESOLV_HOST:
case EASR_SC_CONN:
case EASR_SC_AUTH:
case EASR_SC_REG:
case EASR_FM:
case EASR_TOPO:
case EASR_SCF:
case EASR_SSL_LIBSSL:
return (asr_errno);
return (err);
size_t n;
return (err);
return (err);
return (_asr_errmsg);