1/**
2 * This file contains wrapper functions for macro-defined C routines.
3 *
4 * Copyright: Copyright Sean Kelly 2005 - 2009.
5 * License: Distributed under the
6 *      $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
7 *    (See accompanying file LICENSE)
8 * Authors:   Sean Kelly
9 * Source:    $(DRUNTIMESRC core/stdc/errno.c)
10 */
11
12#include <errno.h>
13
14
15int getErrno()
16{
17    return errno;
18}
19
20
21int setErrno( int val )
22{
23    errno = val;
24    return val;
25}
26