summaryrefslogtreecommitdiff
path: root/StdLib/LibC/Main/errno.c
blob: 48eb1709b6c667c5261788ef7b72696615083169 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/** @file
  Instantiate errno as declared in <errno.h>.

  Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
  This program and the accompanying materials are licensed and made available under
  the terms and conditions of the BSD License that accompanies this distribution.
  The full text of the license may be found at
  http://opensource.org/licenses/bsd-license.php.

  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/

int             errno     = 0;
RETURN_STATUS   EFIerrno  = RETURN_SUCCESS;

// This is required to keep VC++ happy if you use floating-point
int _fltused  = 1;
int __sse2_available = 0;   ///< Used by ftol2_sse