uc-sdk
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
reent.h
Go to the documentation of this file.
1
#ifndef __RENT_H__
2
#define __RENT_H__
3
4
#include <
errno.h
>
5
6
struct
_reent
{
7
enum
errno_t
_errno
;
8
};
9
10
static
inline
void
_REENT_INIT_PTR(
struct
_reent
* reent) { reent->
_errno
=
ENOERROR
; }
11
extern
struct
_reent
*
_impure_ptr
;
12
static
inline
void
set_errno(
enum
errno_t
_errno
) { _impure_ptr->
_errno
=
errno
=
_errno
; }
13
14
#endif
libc
include
reent.h
Generated on Fri Nov 15 2013 05:00:19 for uc-sdk by
1.8.4