[netcore] Add libc name transition
[mono-project.git] / mono / utils / mono-errno.h
blobd73be32a646397087ca5d43256bcfad113af5db2
1 /**
2 * \file
3 * Access the native error code
5 * Author:
6 * Alexander Kyte (alkyte@microsoft.com)
8 * (C) 2018 Microsoft, Inc.
12 #ifndef __MONO_ERRNO_H__
13 #define __MONO_ERRNO_H__
15 #include <errno.h>
17 // Enough indirection to do something else here, or log
18 inline static void
19 mono_set_errno (int errno_val)
21 errno = errno_val;
24 #endif