WPILibC++ 2025.2.1
Loading...
Searching...
No Matches
WindowsError.h
Go to the documentation of this file.
1//===-- WindowsError.h - Support for mapping windows errors to posix-------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef WPIUTIL_WPI_WINDOWSERROR_H
10#define WPIUTIL_WPI_WINDOWSERROR_H
11
12#include <system_error>
13
14namespace wpi {
15std::error_code mapLastWindowsError();
16std::error_code mapWindowsError(unsigned EV);
17}
18
19#endif
Foonathan namespace.
Definition ntcore_cpp.h:26
std::error_code mapWindowsError(unsigned EV)
std::error_code mapLastWindowsError()