deskflow/src/lib/arch/unix/XArchUnix.cpp

18 lines
454 B
C++
Raw Normal View History

2012-06-10 16:50:54 +00:00
/*
* Deskflow -- mouse and keyboard sharing utility
* SPDX-FileCopyrightText: (C) 2025 Deskflow Developers
* SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
* SPDX-FileCopyrightText: (C) 2002 Chris Schoeneman
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
2012-06-10 16:50:54 +00:00
*/
#include "arch/unix/XArchUnix.h"
2012-06-10 16:50:54 +00:00
#include <cstring>
std::string errorToString(int error)
{
// FIXME -- not thread safe
return std::strerror(error);
2012-06-10 16:50:54 +00:00
}