www.pudn.com > system.rar > errno.h


/*****************************************************************************/ 
/*  ERRNO.H  v2.54                                                           */ 
/*  Copyright (c) 1995-2004 Texas Instruments Incorporated                   */ 
/*****************************************************************************/ 
 
#ifndef _ERRNO 
#define _ERRNO 
 
#ifdef __cplusplus 
//---------------------------------------------------------------------------- 
//  IS RECOMMENDED OVER .   IS PROVIDED FOR 
// COMPATIBILITY WITH C AND THIS USAGE IS DEPRECATED IN C++ 
//---------------------------------------------------------------------------- 
extern "C" namespace std 
{ 
#endif /* __cplusplus */ 
 
#include  
 
#define errno errno 
extern _DATA_ACCESS int errno; 
 
#define EDOM   1 
#define ERANGE 2 
#define ENOENT 3 
#define EFPOS  5 
#define EILSEQ 6 
 
#ifdef __cplusplus 
} /* extern "C" namespace std */ 
 
#ifndef _CPP_STYLE_HEADER 
using std::errno; 
#endif /* _CPP_STYLE_HEADER */ 
 
#endif /* __cplusplus */ 
 
#else 
 
#ifdef __cplusplus 
 
#ifndef _CPP_STYLE_HEADER 
using std::errno; 
#endif /* _CPP_STYLE_HEADER */ 
 
#endif /* __cplusplus */ 
 
#endif  /* _ERRNO */