/usr/include/SoapySDR/Errors.hpp is in libsoapysdr-dev 0.6.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | ///
/// \file SoapySDR/Errors.hpp
///
/// Error codes used in the device API.
///
/// \copyright
/// Copyright (c) 2015-2015 Josh Blum
/// SPDX-License-Identifier: BSL-1.0
///
#pragma once
#include <SoapySDR/Config.h>
#include <SoapySDR/Errors.h>
namespace SoapySDR
{
/*!
* Convert a error code to a string for printing purposes.
* If the error code is unrecognized, errToStr returns "UNKNOWN".
* \param errorCode a negative integer return code
* \return a pointer to a string representing the error
*/
SOAPY_SDR_API const char *errToStr(const int errorCode);
}
|