2016-08-17 11:22:09 -07:00
|
|
|
/*
|
2018-02-23 09:53:12 +01:00
|
|
|
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
2016-08-17 11:22:09 -07:00
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2018-02-23 09:53:12 +01:00
|
|
|
*
|
|
|
|
* See the COPYRIGHT file distributed with this work for additional
|
|
|
|
* information regarding copyright ownership.
|
2016-08-17 11:22:09 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*! \file */
|
|
|
|
|
|
|
|
#include <isc/errno.h>
|
|
|
|
#include <isc/util.h>
|
|
|
|
|
|
|
|
#include "errno2result.h"
|
|
|
|
|
|
|
|
isc_result_t
|
|
|
|
isc_errno_toresult(int err) {
|
2018-04-17 08:29:14 -07:00
|
|
|
return (isc___errno2result(err, false, 0, 0));
|
2016-08-17 11:22:09 -07:00
|
|
|
}
|