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
|
|
|
*
|
2021-06-03 08:37:05 +02:00
|
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
|
|
*
|
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
|
2020-09-14 16:20:40 -07:00
|
|
|
* file, you can obtain one at https://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
|
|
|
*/
|
|
|
|
|
2021-10-05 16:49:47 +02:00
|
|
|
#pragma once
|
2016-08-17 11:22:09 -07:00
|
|
|
|
|
|
|
/*! \file isc/file.h */
|
|
|
|
|
|
|
|
#include <isc/types.h>
|
|
|
|
|
|
|
|
ISC_LANG_BEGINDECLS
|
|
|
|
|
|
|
|
isc_result_t
|
|
|
|
isc_errno_toresult(int err);
|
|
|
|
/*!<
|
|
|
|
* \brief Convert a POSIX errno value to an ISC result code.
|
|
|
|
*/
|
|
|
|
ISC_LANG_ENDDECLS
|