ReactOS 0.4.16-dev-2104-gb84fa49
misc.c File Reference
#include <stdlib.h>
#include <errno.h>
#include <msvcrt.h>
Include dependency graph for misc.c:

Go to the source code of this file.

Functions

unsigned char__p__mbcasemap (void)
 
int__p__fileinfo (void)
 
int _get_fileinfo (_Out_ int *_Value)
 
int _set_fileinfo (_In_ int _Value)
 
errno_t __cdecl _get_winver (_Out_ unsigned int *_Value)
 

Variables

unsigned int MSVCRT__winver
 
unsigned char _mbcasemap [257]
 
int _fileinfo = -1
 

Function Documentation

◆ __p__fileinfo()

int * __p__fileinfo ( void  )

Definition at line 33 of file misc.c.

34{
35 return &_fileinfo;
36}
int _fileinfo
Definition: misc.c:26

Referenced by Test__fileinfo().

◆ __p__mbcasemap()

unsigned char * __p__mbcasemap ( void  )

Definition at line 28 of file misc.c.

29{
30 return _mbcasemap;
31}
unsigned char _mbcasemap[257]
Definition: misc.c:14

Referenced by Test__mbcasemap().

◆ _get_fileinfo()

int _get_fileinfo ( _Out_ int _Value)

Definition at line 38 of file misc.c.

39{
41 {
42 return EINVAL;
43 }
44
46 return 0;
47}
#define NULL
Definition: types.h:112
#define EINVAL
Definition: errno.h:44
#define MSVCRT_CHECK_PMT(x)
Definition: msvcrt.h:378
_In_ _Value

◆ _get_winver()

errno_t __cdecl _get_winver ( _Out_ unsigned int _Value)

Definition at line 57 of file misc.c.

58{
60 {
61 return EINVAL;
62 }
63
65 return 0;
66}
unsigned int MSVCRT__winver
Definition: data.c:39

◆ _set_fileinfo()

int _set_fileinfo ( _In_ int  _Value)

Definition at line 49 of file misc.c.

50{
52 return 0;
53}

Variable Documentation

◆ _fileinfo

int _fileinfo = -1

Definition at line 26 of file misc.c.

Referenced by __p__fileinfo(), _get_fileinfo(), _set_fileinfo(), and Test__fileinfo().

◆ _mbcasemap

unsigned char _mbcasemap[257]
Initial value:
=
{
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o',
'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O',
'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 0x0, 0x0, 0x0, 0x0, 0x0,
}

Definition at line 14 of file misc.c.

Referenced by __p__mbcasemap().

◆ MSVCRT__winver

unsigned int MSVCRT__winver
extern

Definition at line 39 of file data.c.

Referenced by __p__winver(), _get_winver(), and msvcrt_init_args().