/src/bind9/lib/isc/errno.c
Line | Count | Source |
1 | | /* |
2 | | * Copyright (C) Internet Systems Consortium, Inc. ("ISC") |
3 | | * |
4 | | * SPDX-License-Identifier: MPL-2.0 |
5 | | * |
6 | | * This Source Code Form is subject to the terms of the Mozilla Public |
7 | | * License, v. 2.0. If a copy of the MPL was not distributed with this |
8 | | * file, you can obtain one at https://mozilla.org/MPL/2.0/. |
9 | | * |
10 | | * See the COPYRIGHT file distributed with this work for additional |
11 | | * information regarding copyright ownership. |
12 | | */ |
13 | | |
14 | | /*! \file */ |
15 | | |
16 | | #include <isc/errno.h> |
17 | | #include <isc/util.h> |
18 | | |
19 | | #include "errno2result.h" |
20 | | |
21 | | isc_result_t |
22 | 0 | isc_errno_toresult(int err) { |
23 | | return isc___errno2result(err, false, 0, 0); |
24 | 0 | } |