yunque9/xcode/Libraries/libil2cpp/include/os/Posix/Error.h

16 lines
295 B
C
Raw Normal View History

2025-06-20 11:52:54 +08:00
#pragma once
#include <string>
#include <stdint.h>
#include "os/ErrorCodes.h"
namespace il2cpp
{
namespace os
{
ErrorCode SocketErrnoToErrorCode(int32_t code);
ErrorCode FileErrnoToErrorCode(int32_t code);
ErrorCode PathErrnoToErrorCode(const std::string& path, int32_t code);
}
}