/** * This file has no copyright assigned and is placed in the Public Domain. * This file is part of the w64 mingw-runtime package. * No warranty is given; refer to the file DISCLAIMER within this package. */#ifndef _INC_WCHAR#define _INC_WCHAR #include <_mingw.h> #pragma pack(push,_CRT_PACKING) #ifdef __cplusplusextern "C" {#endif #ifndef WCHAR_MIN /* also at stdint.h */#define WCHAR_MIN 0#define WCHAR_MAX ((wchar_t) -1) /* UINT16_MAX */#endif #ifndef __GNUC_VA_LIST#define __GNUC_VA_LIST typedef __builtin_va_list __gnuc_va_list;#endif #ifndef _VA_LIST_DEFINED#define _VA_LIST_DEFINED typedef __gnuc_va_list va_list;#endif #ifndef WEOF#define WEOF (wint_t)(0xFFFF)#endif #ifndef _FILE_DEFINED struct _iobuf { char *_ptr; int _cnt; char *_base; int _flag; int _file; int _charbuf; int _bufsiz; char *_tmpfname; }; typedef struct _iobuf FILE;#define _FILE_DEFINED#endif #ifndef _STDIO_DEFINED#ifdef _WIN64 _CRTIMP FILE *__cdecl __iob_func(void);#else#ifdef _MSVCRT_extern FILE _iob[]; /* A pointer to an array of FILE */#define __iob_func() (_iob)#elseextern FILE (*_imp___iob)[]; /* A pointer to an array of FILE */#define __iob_func() (*_imp___iob)#define _iob __iob_func()#endif#endif #define _iob __iob_func()#endif #ifndef _STDSTREAM_DEFINED#define stdin (&__iob_func()[0])#define stdout (&__iob_func()[1])#define stderr (&__iob_func()[2])#define _STDSTREAM_DEFINED#endif #ifndef _FSIZE_T_DEFINED typedef unsigned long _fsize_t;#define _FSIZE_T_DEFINED#endif #ifndef _WFINDDATA_T_DEFINED struct _wfinddata32_t { unsigned attrib; __time32_t time_create; __time32_t time_access; __time32_t time_write; _fsize_t size; wchar_t name[260]; }; /* #if _INTEGRAL_MAX_BITS >= 64 */ struct _wfinddata32i64_t { unsigned attrib; __time32_t time_create; __time32_t time_access; __time32_t time_write; __int64 size; wchar_t name[260]; }; struct _wfinddata64i32_t { unsigned attrib; __time64_t time_create; __time64_t time_access; __time64_t time_write; _fsize_t size; wchar_t name[260]; }; struct _wfinddata64_t { unsigned attrib; __time64_t time_create; __time64_t time_access; __time64_t time_write; __int64 size; wchar_t name[260]; };/* #endif */ #ifdef _USE_32BIT_TIME_T#define _wfinddata_t _wfinddata32_t#define _wfinddatai64_t _wfinddata32i64_t #define _wfindfirst _wfindfirst32#define _wfindnext _wfindnext32#define _wfindfirsti64 _wfindfirst32i64#define _wfindnexti64 _wfindnext32i64#else#define _wfinddata_t _wfinddata64i32_t#define _wfinddatai64_t _wfinddata64_t #define _wfindfirst _wfindfirst64i32#define _wfindnext _wfindnext64i32#define _wfindfirsti64 _wfindfirst64#define _wfindnexti64 _wfindnext64#endif #define _WFINDDATA_T_DEFINED#endif #ifndef NULL#ifdef __cplusplus#define NULL 0#else#define NULL ((void *)0)#endif#endif #ifndef _CONST_RETURN#define _CONST_RETURN#endif #define _WConst_return _CONST_RETURN #ifndef _CRT_CTYPEDATA_DEFINED#define _CRT_CTYPEDATA_DEFINED#ifndef _CTYPE_DISABLE_MACROS #ifndef __PCTYPE_FUNC#define __PCTYPE_FUNC __pctype_func()#ifdef _MSVCRT_#define __pctype_func() (_pctype)#else#define __pctype_func() (*_imp___pctype)#endif#endif #ifndef _pctype#ifdef _MSVCRT_ extern unsigned short *_pctype;#else extern unsigned short **_imp___pctype;#define _pctype (*_imp___pctype)#endif#endif#endif#endif #ifndef _CRT_WCTYPEDATA_DEFINED#define _CRT_WCTYPEDATA_DEFINED#ifndef _CTYPE_DISABLE_MACROS#ifndef _wctype#ifdef _MSVCRT_ extern unsigned short *_wctype;#else extern unsigned short **_imp___wctype;#define _wctype (*_imp___wctype)#endif#endif #ifdef _MSVCRT_#define __pwctype_func() (_pwctype)#else#define __pwctype_func() (*_imp___pwctype)#endif #ifndef _pwctype#ifdef _MSVCRT_ extern unsigned short *_pwctype;#else extern unsigned short **_imp___pwctype;#define _pwctype (*_imp___pwctype)#endif#endif #endif#endif #define _UPPER 0x1#define _LOWER 0x2#define _DIGIT 0x4#define _SPACE 0x8 #define _PUNCT 0x10#define _CONTROL 0x20#define _BLANK 0x40#define _HEX 0x80 #define _LEADBYTE 0x8000#define _ALPHA (0x0100|_UPPER|_LOWER) #ifndef _WCTYPE_DEFINED#define _WCTYPE_DEFINED int __cdecl iswalpha(wint_t _C); _CRTIMP int __cdecl _iswalpha_l(wint_t _C,_locale_t _Locale); int __cdecl iswupper(wint_t _C); _CRTIMP int __cdecl _iswupper_l(wint_t _C,_locale_t _Locale); int __cdecl iswlower(wint_t _C); _CRTIMP int __cdecl _iswlower_l(wint_t _C,_locale_t _Locale); int __cdecl iswdigit(wint_t _C); _CRTIMP int __cdecl _iswdigit_l(wint_t _C,_locale_t _Locale); int __cdecl iswxdigit(wint_t _C); _CRTIMP int __cdecl _iswxdigit_l(wint_t _C,_locale_t _Locale); int __cdecl iswspace(wint_t _C); _CRTIMP int __cdecl _iswspace_l(wint_t _C,_locale_t _Locale); int __cdecl iswpunct(wint_t _C); _CRTIMP int __cdecl _iswpunct_l(wint_t _C,_locale_t _Locale); int __cdecl iswalnum(wint_t _C); _CRTIMP int __cdecl _iswalnum_l(wint_t _C,_locale_t _Locale); int __cdecl iswprint(wint_t _C); _CRTIMP int __cdecl _iswprint_l(wint_t _C,_locale_t _Locale); int __cdecl iswgraph(wint_t _C); _CRTIMP int __cdecl _iswgraph_l(wint_t _C,_locale_t _Locale); int __cdecl iswcntrl(wint_t _C); _CRTIMP int __cdecl _iswcntrl_l(wint_t _C,_locale_t _Locale); int __cdecl iswascii(wint_t _C); int __cdecl isleadbyte(int _C); _CRTIMP int __cdecl _isleadbyte_l(int _C,_locale_t _Locale); wint_t __cdecl towupper(wint_t _C); _CRTIMP wint_t __cdecl _towupper_l(wint_t _C,_locale_t _Locale); wint_t __cdecl towlower(wint_t _C); _CRTIMP wint_t __cdecl _towlower_l(wint_t _C,_locale_t _Locale); int __cdecl iswctype(wint_t _C,wctype_t _Type); _CRTIMP int __cdecl _iswctype_l(wint_t _C,wctype_t _Type,_locale_t _Locale); _CRTIMP int __cdecl __iswcsymf(wint_t _C); _CRTIMP int __cdecl _iswcsymf_l(wint_t _C,_locale_t _Locale); _CRTIMP int __cdecl __iswcsym(wint_t _C); _CRTIMP int __cdecl _iswcsym_l(wint_t _C,_locale_t _Locale); int __cdecl is_wctype(wint_t _C,wctype_t _Type);#endif #ifndef _WDIRECT_DEFINED#define _WDIRECT_DEFINED _CRTIMP wchar_t *__cdecl _wgetcwd(wchar_t *_DstBuf,int _SizeInWords); _CRTIMP wchar_t *__cdecl _wgetdcwd(int _Drive,wchar_t *_DstBuf,int _SizeInWords); wchar_t *__cdecl _wgetdcwd_nolock(int _Drive,wchar_t *_DstBuf,int _SizeInWords); _CRTIMP int __cdecl _wchdir(const wchar_t *_Path); _CRTIMP int __cdecl _wmkdir(const wchar_t *_Path); _CRTIMP int __cdecl _wrmdir(const wchar_t *_Path);#endif #ifndef _WIO_DEFINED#define _WIO_DEFINED _CRTIMP int __cdecl _waccess(const wchar_t *_Filename,int _AccessMode); _CRTIMP int __cdecl _wchmod(const wchar_t *_Filename,int _Mode); _CRTIMP int __cdecl _wcreat(const wchar_t *_Filename,int _PermissionMode); _CRTIMP intptr_t __cdecl _wfindfirst32(const wchar_t *_Filename,struct _wfinddata32_t *_FindData); _CRTIMP int __cdecl _wfindnext32(intptr_t _FindHandle,struct _wfinddata32_t *_FindData); _CRTIMP int __cdecl _wunlink(const wchar_t *_Filename); _CRTIMP int __cdecl _wrename(const wchar_t *_NewFilename,const wchar_t *_OldFilename); _CRTIMP wchar_t *__cdecl _wmktemp(wchar_t *_TemplateName);#if _INTEGRAL_MAX_BITS >= 64 _CRTIMP intptr_t __cdecl _wfindfirst32i64(const wchar_t *_Filename,struct _wfinddata32i64_t *_FindData); intptr_t __cdecl _wfindfirst64i32(const wchar_t *_Filename,struct _wfinddata64i32_t *_FindData); _CRTIMP intptr_t __cdecl _wfindfirst64(const wchar_t *_Filename,struct _wfinddata64_t *_FindData); _CRTIMP int __cdecl _wfindnext32i64(intptr_t _FindHandle,struct _wfinddata32i64_t *_FindData); int __cdecl _wfindnext64i32(intptr_t _FindHandle,struct _wfinddata64i32_t *_FindData); _CRTIMP int __cdecl _wfindnext64(intptr_t _FindHandle,struct _wfinddata64_t *_FindData);#endif _CRTIMP errno_t __cdecl _wsopen_s(int *_FileHandle,const wchar_t *_Filename,int _OpenFlag,int _ShareFlag,int _PermissionFlag);#if !defined(__cplusplus) || !(defined(_X86_) && !defined(__x86_64)) _CRTIMP int __cdecl _wopen(const wchar_t *_Filename,int _OpenFlag,...); _CRTIMP int __cdecl _wsopen(const wchar_t *_Filename,int _OpenFlag,int _ShareFlag,...);#else extern "C++" _CRTIMP int __cdecl _wopen(const wchar_t *_Filename,int _OpenFlag,int _PermissionMode = 0); extern "C++" _CRTIMP int __cdecl _wsopen(const wchar_t *_Filename,int _OpenFlag,int _ShareFlag,int _PermissionMode = 0);#endif#endif #ifndef _WLOCALE_DEFINED#define _WLOCALE_DEFINED _CRTIMP wchar_t *__cdecl _wsetlocale(int _Category,const wchar_t *_Locale);#endif #ifndef _WPROCESS_DEFINED#define _WPROCESS_DEFINED _CRTIMP intptr_t __cdecl _wexecl(const wchar_t *_Filename,const wchar_t *_ArgList,...); _CRTIMP intptr_t __cdecl _wexecle(const wchar_t *_Filename,const wchar_t *_ArgList,...); _CRTIMP intptr_t __cdecl _wexeclp(const wchar_t *_Filename,const wchar_t *_ArgList,...); _CRTIMP intptr_t __cdecl _wexeclpe(const wchar_t *_Filename,const wchar_t *_ArgList,...); _CRTIMP intptr_t __cdecl _wexecv(const wchar_t *_Filename,const wchar_t *const *_ArgList); _CRTIMP intptr_t __cdecl _wexecve(const wchar_t *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env); _CRTIMP intptr_t __cdecl _wexecvp(const wchar_t *_Filename,const wchar_t *const *_ArgList); _CRTIMP intptr_t __cdecl _wexecvpe(const wchar_t *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env); _CRTIMP intptr_t __cdecl _wspawnl(int _Mode,const wchar_t *_Filename,const wchar_t *_ArgList,...); _CRTIMP intptr_t __cdecl _wspawnle(int _Mode,const wchar_t *_Filename,const wchar_t *_ArgList,...); _CRTIMP intptr_t __cdecl _wspawnlp(int _Mode,const wchar_t *_Filename,const wchar_t *_ArgList,...); _CRTIMP intptr_t __cdecl _wspawnlpe(int _Mode,const wchar_t *_Filename,const wchar_t *_ArgList,...); _CRTIMP intptr_t __cdecl _wspawnv(int _Mode,const wchar_t *_Filename,const wchar_t *const *_ArgList); _CRTIMP intptr_t __cdecl _wspawnve(int _Mode,const wchar_t *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env); _CRTIMP intptr_t __cdecl _wspawnvp(int _Mode,const wchar_t *_Filename,const wchar_t *const *_ArgList); _CRTIMP intptr_t __cdecl _wspawnvpe(int _Mode,const wchar_t *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env);#ifndef _CRT_WSYSTEM_DEFINED#define _CRT_WSYSTEM_DEFINED _CRTIMP int __cdecl _wsystem(const wchar_t *_Command);#endif#endif #ifndef _WCTYPE_INLINE_DEFINED#undef _CRT_WCTYPE_NOINLINE#if !defined(__cplusplus) || defined(_CRT_WCTYPE_NOINLINE)#define iswalpha(_c) (iswctype(_c,_ALPHA))#define iswupper(_c) (iswctype(_c,_UPPER))#define iswlower(_c) (iswctype(_c,_LOWER))#define iswdigit(_c) (iswctype(_c,_DIGIT))#define iswxdigit(_c) (iswctype(_c,_HEX))#define iswspace(_c) (iswctype(_c,_SPACE))#define iswpunct(_c) (iswctype(_c,_PUNCT))#define iswalnum(_c) (iswctype(_c,_ALPHA|_DIGIT))#define iswprint(_c) (iswctype(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT))#define iswgraph(_c) (iswctype(_c,_PUNCT|_ALPHA|_DIGIT))#define iswcntrl(_c) (iswctype(_c,_CONTROL))#define iswascii(_c) ((unsigned)(_c) < 0x80) #define _iswalpha_l(_c,_p) (_iswctype_l(_c,_ALPHA,_p))#define _iswupper_l(_c,_p) (_iswctype_l(_c,_UPPER,_p))#define _iswlower_l(_c,_p) (_iswctype_l(_c,_LOWER,_p))#define _iswdigit_l(_c,_p) (_iswctype_l(_c,_DIGIT,_p))#define _iswxdigit_l(_c,_p) (_iswctype_l(_c,_HEX,_p))#define _iswspace_l(_c,_p) (_iswctype_l(_c,_SPACE,_p))#define _iswpunct_l(_c,_p) (_iswctype_l(_c,_PUNCT,_p))#define _iswalnum_l(_c,_p) (_iswctype_l(_c,_ALPHA|_DIGIT,_p))#define _iswprint_l(_c,_p) (_iswctype_l(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT,_p))#define _iswgraph_l(_c,_p) (_iswctype_l(_c,_PUNCT|_ALPHA|_DIGIT,_p))#define _iswcntrl_l(_c,_p) (_iswctype_l(_c,_CONTROL,_p))#ifndef _CTYPE_DISABLE_MACROS#define isleadbyte(_c) (__PCTYPE_FUNC[(unsigned char)(_c)] & _LEADBYTE)#endif#endif#define _WCTYPE_INLINE_DEFINED#endif #if !defined(_POSIX_) || defined(__GNUC__)#ifndef _INO_T_DEFINED#define _INO_T_DEFINED typedef unsigned short _ino_t;#ifndef NO_OLDNAMES typedef unsigned short ino_t;#endif#endif #ifndef _DEV_T_DEFINED#define _DEV_T_DEFINED typedef unsigned int _dev_t;#ifndef NO_OLDNAMES typedef unsigned int dev_t;#endif#endif #ifndef _OFF_T_DEFINED#define _OFF_T_DEFINED#ifndef _OFF_T_#define _OFF_T_ typedef long _off_t;#if !defined(NO_OLDNAMES) || defined(_POSIX) typedef long off_t;#endif#endif#endif #ifndef _OFF64_T_DEFINED#define _OFF64_T_DEFINED typedef long long _off64_t;#if !defined(NO_OLDNAMES) || defined(_POSIX) typedef long long off64_t;#endif#endif #ifndef _STAT_DEFINED#define _STAT_DEFINED #ifdef _USE_32BIT_TIME_T#ifdef WIN64#define _fstat _fstat32#define _stat _stat32#define _wstat _wstat32#else#define _fstat32 _fstat#define _stat32 _stat#define _wstat32 _wstat#endif#define _fstati64 _fstat32i64#define _stati64 _stat32i64#define _wstati64 _wstat32i64#else#define _fstat _fstat64i32#define _fstati64 _fstat64#define _stat _stat64i32#define _stati64 _stat64#define _wstat _wstat64i32#define _wstati64 _wstat64#endif struct _stat32 { _dev_t st_dev; _ino_t st_ino; unsigned short st_mode; short st_nlink; short st_uid; short st_gid; _dev_t st_rdev; _off_t st_size; __time32_t st_atime; __time32_t st_mtime; __time32_t st_ctime; }; #ifndef NO_OLDNAMES struct stat { _dev_t st_dev; _ino_t st_ino; unsigned short st_mode; short st_nlink; short st_uid; short st_gid; _dev_t st_rdev; _off_t st_size; time_t st_atime; time_t st_mtime; time_t st_ctime; };#endif #if _INTEGRAL_MAX_BITS >= 64 struct _stat32i64 { _dev_t st_dev; _ino_t st_ino; unsigned short st_mode; short st_nlink; short st_uid; short st_gid; _dev_t st_rdev; __int64 st_size; __time32_t st_atime; __time32_t st_mtime; __time32_t st_ctime; }; struct _stat64i32 { _dev_t st_dev; _ino_t st_ino; unsigned short st_mode; short st_nlink; short st_uid; short st_gid; _dev_t st_rdev; _off_t st_size; __time64_t st_atime; __time64_t st_mtime; __time64_t st_ctime; }; struct _stat64 { _dev_t st_dev; _ino_t st_ino; unsigned short st_mode; short st_nlink; short st_uid; short st_gid; _dev_t st_rdev; __int64 st_size; __time64_t st_atime; __time64_t st_mtime; __time64_t st_ctime; };Lines 1–500 of 873. Load more
/** * This file has no copyright assigned and is placed in the Public Domain. * This file is part of the w64 mingw-runtime package. * No warranty is given; refer to the file DISCLAIMER within this package. */ #ifndef _INC_WCHAR #define _INC_WCHAR #include <_mingw.h> #pragma pack(push,_CRT_PACKING) #ifdef __cplusplus extern "C" { #endif #ifndef WCHAR_MIN /* also at stdint.h */ #define WCHAR_MIN 0 #define WCHAR_MAX ((wchar_t) -1) /* UINT16_MAX */ #endif #ifndef __GNUC_VA_LIST #define __GNUC_VA_LIST typedef __builtin_va_list __gnuc_va_list; #endif #ifndef _VA_LIST_DEFINED #define _VA_LIST_DEFINED typedef __gnuc_va_list va_list; #endif #ifndef WEOF #define WEOF (wint_t)(0xFFFF) #endif #ifndef _FILE_DEFINED struct _iobuf { char *_ptr; int _cnt; char *_base; int _flag; int _file; int _charbuf; int _bufsiz; char *_tmpfname; }; typedef struct _iobuf FILE; #define _FILE_DEFINED #endif #ifndef _STDIO_DEFINED #ifdef _WIN64 _CRTIMP FILE *__cdecl __iob_func(void); #else #ifdef _MSVCRT_ extern FILE _iob[]; /* A pointer to an array of FILE */ #define __iob_func() (_iob) #else extern FILE (*_imp___iob)[]; /* A pointer to an array of FILE */ #define __iob_func() (*_imp___iob) #define _iob __iob_func() #endif #endif #define _iob __iob_func() #endif #ifndef _STDSTREAM_DEFINED #define stdin (&__iob_func()[0]) #define stdout (&__iob_func()[1]) #define stderr (&__iob_func()[2]) #define _STDSTREAM_DEFINED #endif #ifndef _FSIZE_T_DEFINED typedef unsigned long _fsize_t; #define _FSIZE_T_DEFINED #endif #ifndef _WFINDDATA_T_DEFINED struct _wfinddata32_t { unsigned attrib; __time32_t time_create; __time32_t time_access; __time32_t time_write; _fsize_t size; wchar_t name[260]; }; /* #if _INTEGRAL_MAX_BITS >= 64 */ struct _wfinddata32i64_t { unsigned attrib; __time32_t time_create; __time32_t time_access; __time32_t time_write; __int64 size; wchar_t name[260]; }; struct _wfinddata64i32_t { unsigned attrib; __time64_t time_create; __time64_t time_access; __time64_t time_write; _fsize_t size; wchar_t name[260]; }; struct _wfinddata64_t { unsigned attrib; __time64_t time_create; __time64_t time_access; __time64_t time_write; __int64 size; wchar_t name[260]; }; /* #endif */ #ifdef _USE_32BIT_TIME_T #define _wfinddata_t _wfinddata32_t #define _wfinddatai64_t _wfinddata32i64_t #define _wfindfirst _wfindfirst32 #define _wfindnext _wfindnext32 #define _wfindfirsti64 _wfindfirst32i64 #define _wfindnexti64 _wfindnext32i64 #else #define _wfinddata_t _wfinddata64i32_t #define _wfinddatai64_t _wfinddata64_t #define _wfindfirst _wfindfirst64i32 #define _wfindnext _wfindnext64i32 #define _wfindfirsti64 _wfindfirst64 #define _wfindnexti64 _wfindnext64 #endif #define _WFINDDATA_T_DEFINED #endif #ifndef NULL #ifdef __cplusplus #define NULL 0 #else #define NULL ((void *)0) #endif #endif #ifndef _CONST_RETURN #define _CONST_RETURN #endif #define _WConst_return _CONST_RETURN #ifndef _CRT_CTYPEDATA_DEFINED #define _CRT_CTYPEDATA_DEFINED #ifndef _CTYPE_DISABLE_MACROS #ifndef __PCTYPE_FUNC #define __PCTYPE_FUNC __pctype_func() #ifdef _MSVCRT_ #define __pctype_func() (_pctype) #else #define __pctype_func() (*_imp___pctype) #endif #endif #ifndef _pctype #ifdef _MSVCRT_ extern unsigned short *_pctype; #else extern unsigned short **_imp___pctype; #define _pctype (*_imp___pctype) #endif #endif #endif #endif #ifndef _CRT_WCTYPEDATA_DEFINED #define _CRT_WCTYPEDATA_DEFINED #ifndef _CTYPE_DISABLE_MACROS #ifndef _wctype #ifdef _MSVCRT_ extern unsigned short *_wctype; #else extern unsigned short **_imp___wctype; #define _wctype (*_imp___wctype) #endif #endif #ifdef _MSVCRT_ #define __pwctype_func() (_pwctype) #else #define __pwctype_func() (*_imp___pwctype) #endif #ifndef _pwctype #ifdef _MSVCRT_ extern unsigned short *_pwctype; #else extern unsigned short **_imp___pwctype; #define _pwctype (*_imp___pwctype) #endif #endif #endif #endif #define _UPPER 0x1 #define _LOWER 0x2 #define _DIGIT 0x4 #define _SPACE 0x8 #define _PUNCT 0x10 #define _CONTROL 0x20 #define _BLANK 0x40 #define _HEX 0x80 #define _LEADBYTE 0x8000 #define _ALPHA (0x0100|_UPPER|_LOWER) #ifndef _WCTYPE_DEFINED #define _WCTYPE_DEFINED int __cdecl iswalpha(wint_t _C); _CRTIMP int __cdecl _iswalpha_l(wint_t _C,_locale_t _Locale); int __cdecl iswupper(wint_t _C); _CRTIMP int __cdecl _iswupper_l(wint_t _C,_locale_t _Locale); int __cdecl iswlower(wint_t _C); _CRTIMP int __cdecl _iswlower_l(wint_t _C,_locale_t _Locale); int __cdecl iswdigit(wint_t _C); _CRTIMP int __cdecl _iswdigit_l(wint_t _C,_locale_t _Locale); int __cdecl iswxdigit(wint_t _C); _CRTIMP int __cdecl _iswxdigit_l(wint_t _C,_locale_t _Locale); int __cdecl iswspace(wint_t _C); _CRTIMP int __cdecl _iswspace_l(wint_t _C,_locale_t _Locale); int __cdecl iswpunct(wint_t _C); _CRTIMP int __cdecl _iswpunct_l(wint_t _C,_locale_t _Locale); int __cdecl iswalnum(wint_t _C); _CRTIMP int __cdecl _iswalnum_l(wint_t _C,_locale_t _Locale); int __cdecl iswprint(wint_t _C); _CRTIMP int __cdecl _iswprint_l(wint_t _C,_locale_t _Locale); int __cdecl iswgraph(wint_t _C); _CRTIMP int __cdecl _iswgraph_l(wint_t _C,_locale_t _Locale); int __cdecl iswcntrl(wint_t _C); _CRTIMP int __cdecl _iswcntrl_l(wint_t _C,_locale_t _Locale); int __cdecl iswascii(wint_t _C); int __cdecl isleadbyte(int _C); _CRTIMP int __cdecl _isleadbyte_l(int _C,_locale_t _Locale); wint_t __cdecl towupper(wint_t _C); _CRTIMP wint_t __cdecl _towupper_l(wint_t _C,_locale_t _Locale); wint_t __cdecl towlower(wint_t _C); _CRTIMP wint_t __cdecl _towlower_l(wint_t _C,_locale_t _Locale); int __cdecl iswctype(wint_t _C,wctype_t _Type); _CRTIMP int __cdecl _iswctype_l(wint_t _C,wctype_t _Type,_locale_t _Locale); _CRTIMP int __cdecl __iswcsymf(wint_t _C); _CRTIMP int __cdecl _iswcsymf_l(wint_t _C,_locale_t _Locale); _CRTIMP int __cdecl __iswcsym(wint_t _C); _CRTIMP int __cdecl _iswcsym_l(wint_t _C,_locale_t _Locale); int __cdecl is_wctype(wint_t _C,wctype_t _Type); #endif #ifndef _WDIRECT_DEFINED #define _WDIRECT_DEFINED _CRTIMP wchar_t *__cdecl _wgetcwd(wchar_t *_DstBuf,int _SizeInWords); _CRTIMP wchar_t *__cdecl _wgetdcwd(int _Drive,wchar_t *_DstBuf,int _SizeInWords); wchar_t *__cdecl _wgetdcwd_nolock(int _Drive,wchar_t *_DstBuf,int _SizeInWords); _CRTIMP int __cdecl _wchdir(const wchar_t *_Path); _CRTIMP int __cdecl _wmkdir(const wchar_t *_Path); _CRTIMP int __cdecl _wrmdir(const wchar_t *_Path); #endif #ifndef _WIO_DEFINED #define _WIO_DEFINED _CRTIMP int __cdecl _waccess(const wchar_t *_Filename,int _AccessMode); _CRTIMP int __cdecl _wchmod(const wchar_t *_Filename,int _Mode); _CRTIMP int __cdecl _wcreat(const wchar_t *_Filename,int _PermissionMode); _CRTIMP intptr_t __cdecl _wfindfirst32(const wchar_t *_Filename,struct _wfinddata32_t *_FindData); _CRTIMP int __cdecl _wfindnext32(intptr_t _FindHandle,struct _wfinddata32_t *_FindData); _CRTIMP int __cdecl _wunlink(const wchar_t *_Filename); _CRTIMP int __cdecl _wrename(const wchar_t *_NewFilename,const wchar_t *_OldFilename); _CRTIMP wchar_t *__cdecl _wmktemp(wchar_t *_TemplateName); #if _INTEGRAL_MAX_BITS >= 64 _CRTIMP intptr_t __cdecl _wfindfirst32i64(const wchar_t *_Filename,struct _wfinddata32i64_t *_FindData); intptr_t __cdecl _wfindfirst64i32(const wchar_t *_Filename,struct _wfinddata64i32_t *_FindData); _CRTIMP intptr_t __cdecl _wfindfirst64(const wchar_t *_Filename,struct _wfinddata64_t *_FindData); _CRTIMP int __cdecl _wfindnext32i64(intptr_t _FindHandle,struct _wfinddata32i64_t *_FindData); int __cdecl _wfindnext64i32(intptr_t _FindHandle,struct _wfinddata64i32_t *_FindData); _CRTIMP int __cdecl _wfindnext64(intptr_t _FindHandle,struct _wfinddata64_t *_FindData); #endif _CRTIMP errno_t __cdecl _wsopen_s(int *_FileHandle,const wchar_t *_Filename,int _OpenFlag,int _ShareFlag,int _PermissionFlag); #if !defined(__cplusplus) || !(defined(_X86_) && !defined(__x86_64)) _CRTIMP int __cdecl _wopen(const wchar_t *_Filename,int _OpenFlag,...); _CRTIMP int __cdecl _wsopen(const wchar_t *_Filename,int _OpenFlag,int _ShareFlag,...); #else extern "C++" _CRTIMP int __cdecl _wopen(const wchar_t *_Filename,int _OpenFlag,int _PermissionMode = 0); extern "C++" _CRTIMP int __cdecl _wsopen(const wchar_t *_Filename,int _OpenFlag,int _ShareFlag,int _PermissionMode = 0); #endif #endif #ifndef _WLOCALE_DEFINED #define _WLOCALE_DEFINED _CRTIMP wchar_t *__cdecl _wsetlocale(int _Category,const wchar_t *_Locale); #endif #ifndef _WPROCESS_DEFINED #define _WPROCESS_DEFINED _CRTIMP intptr_t __cdecl _wexecl(const wchar_t *_Filename,const wchar_t *_ArgList,...); _CRTIMP intptr_t __cdecl _wexecle(const wchar_t *_Filename,const wchar_t *_ArgList,...); _CRTIMP intptr_t __cdecl _wexeclp(const wchar_t *_Filename,const wchar_t *_ArgList,...); _CRTIMP intptr_t __cdecl _wexeclpe(const wchar_t *_Filename,const wchar_t *_ArgList,...); _CRTIMP intptr_t __cdecl _wexecv(const wchar_t *_Filename,const wchar_t *const *_ArgList); _CRTIMP intptr_t __cdecl _wexecve(const wchar_t *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env); _CRTIMP intptr_t __cdecl _wexecvp(const wchar_t *_Filename,const wchar_t *const *_ArgList); _CRTIMP intptr_t __cdecl _wexecvpe(const wchar_t *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env); _CRTIMP intptr_t __cdecl _wspawnl(int _Mode,const wchar_t *_Filename,const wchar_t *_ArgList,...); _CRTIMP intptr_t __cdecl _wspawnle(int _Mode,const wchar_t *_Filename,const wchar_t *_ArgList,...); _CRTIMP intptr_t __cdecl _wspawnlp(int _Mode,const wchar_t *_Filename,const wchar_t *_ArgList,...); _CRTIMP intptr_t __cdecl _wspawnlpe(int _Mode,const wchar_t *_Filename,const wchar_t *_ArgList,...); _CRTIMP intptr_t __cdecl _wspawnv(int _Mode,const wchar_t *_Filename,const wchar_t *const *_ArgList); _CRTIMP intptr_t __cdecl _wspawnve(int _Mode,const wchar_t *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env); _CRTIMP intptr_t __cdecl _wspawnvp(int _Mode,const wchar_t *_Filename,const wchar_t *const *_ArgList); _CRTIMP intptr_t __cdecl _wspawnvpe(int _Mode,const wchar_t *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env); #ifndef _CRT_WSYSTEM_DEFINED #define _CRT_WSYSTEM_DEFINED _CRTIMP int __cdecl _wsystem(const wchar_t *_Command); #endif #endif #ifndef _WCTYPE_INLINE_DEFINED #undef _CRT_WCTYPE_NOINLINE #if !defined(__cplusplus) || defined(_CRT_WCTYPE_NOINLINE) #define iswalpha(_c) (iswctype(_c,_ALPHA)) #define iswupper(_c) (iswctype(_c,_UPPER)) #define iswlower(_c) (iswctype(_c,_LOWER)) #define iswdigit(_c) (iswctype(_c,_DIGIT)) #define iswxdigit(_c) (iswctype(_c,_HEX)) #define iswspace(_c) (iswctype(_c,_SPACE)) #define iswpunct(_c) (iswctype(_c,_PUNCT)) #define iswalnum(_c) (iswctype(_c,_ALPHA|_DIGIT)) #define iswprint(_c) (iswctype(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT)) #define iswgraph(_c) (iswctype(_c,_PUNCT|_ALPHA|_DIGIT)) #define iswcntrl(_c) (iswctype(_c,_CONTROL)) #define iswascii(_c) ((unsigned)(_c) < 0x80) #define _iswalpha_l(_c,_p) (_iswctype_l(_c,_ALPHA,_p)) #define _iswupper_l(_c,_p) (_iswctype_l(_c,_UPPER,_p)) #define _iswlower_l(_c,_p) (_iswctype_l(_c,_LOWER,_p)) #define _iswdigit_l(_c,_p) (_iswctype_l(_c,_DIGIT,_p)) #define _iswxdigit_l(_c,_p) (_iswctype_l(_c,_HEX,_p)) #define _iswspace_l(_c,_p) (_iswctype_l(_c,_SPACE,_p)) #define _iswpunct_l(_c,_p) (_iswctype_l(_c,_PUNCT,_p)) #define _iswalnum_l(_c,_p) (_iswctype_l(_c,_ALPHA|_DIGIT,_p)) #define _iswprint_l(_c,_p) (_iswctype_l(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT,_p)) #define _iswgraph_l(_c,_p) (_iswctype_l(_c,_PUNCT|_ALPHA|_DIGIT,_p)) #define _iswcntrl_l(_c,_p) (_iswctype_l(_c,_CONTROL,_p)) #ifndef _CTYPE_DISABLE_MACROS #define isleadbyte(_c) (__PCTYPE_FUNC[(unsigned char)(_c)] & _LEADBYTE) #endif #endif #define _WCTYPE_INLINE_DEFINED #endif #if !defined(_POSIX_) || defined(__GNUC__) #ifndef _INO_T_DEFINED #define _INO_T_DEFINED typedef unsigned short _ino_t; #ifndef NO_OLDNAMES typedef unsigned short ino_t; #endif #endif #ifndef _DEV_T_DEFINED #define _DEV_T_DEFINED typedef unsigned int _dev_t; #ifndef NO_OLDNAMES typedef unsigned int dev_t; #endif #endif #ifndef _OFF_T_DEFINED #define _OFF_T_DEFINED #ifndef _OFF_T_ #define _OFF_T_ typedef long _off_t; #if !defined(NO_OLDNAMES) || defined(_POSIX) typedef long off_t; #endif #endif #endif #ifndef _OFF64_T_DEFINED #define _OFF64_T_DEFINED typedef long long _off64_t; #if !defined(NO_OLDNAMES) || defined(_POSIX) typedef long long off64_t; #endif #endif #ifndef _STAT_DEFINED #define _STAT_DEFINED #ifdef _USE_32BIT_TIME_T #ifdef WIN64 #define _fstat _fstat32 #define _stat _stat32 #define _wstat _wstat32 #else #define _fstat32 _fstat #define _stat32 _stat #define _wstat32 _wstat #endif #define _fstati64 _fstat32i64 #define _stati64 _stat32i64 #define _wstati64 _wstat32i64 #else #define _fstat _fstat64i32 #define _fstati64 _fstat64 #define _stat _stat64i32 #define _stati64 _stat64 #define _wstat _wstat64i32 #define _wstati64 _wstat64 #endif struct _stat32 { _dev_t st_dev; _ino_t st_ino; unsigned short st_mode; short st_nlink; short st_uid; short st_gid; _dev_t st_rdev; _off_t st_size; __time32_t st_atime; __time32_t st_mtime; __time32_t st_ctime; }; #ifndef NO_OLDNAMES struct stat { _dev_t st_dev; _ino_t st_ino; unsigned short st_mode; short st_nlink; short st_uid; short st_gid; _dev_t st_rdev; _off_t st_size; time_t st_atime; time_t st_mtime; time_t st_ctime; }; #endif #if _INTEGRAL_MAX_BITS >= 64 struct _stat32i64 { _dev_t st_dev; _ino_t st_ino; unsigned short st_mode; short st_nlink; short st_uid; short st_gid; _dev_t st_rdev; __int64 st_size; __time32_t st_atime; __time32_t st_mtime; __time32_t st_ctime; }; struct _stat64i32 { _dev_t st_dev; _ino_t st_ino; unsigned short st_mode; short st_nlink; short st_uid; short st_gid; _dev_t st_rdev; _off_t st_size; __time64_t st_atime; __time64_t st_mtime; __time64_t st_ctime; }; struct _stat64 { _dev_t st_dev; _ino_t st_ino; unsigned short st_mode; short st_nlink; short st_uid; short st_gid; _dev_t st_rdev; __int64 st_size; __time64_t st_atime; __time64_t st_mtime; __time64_t st_ctime; };