📄 wchar.h
字号:
wcscmpi (const wchar_t * __ws1, const wchar_t * __ws2) {return _wcsicmp (__ws1, __ws2);}_CRTIMP wchar_t* __cdecl wcsdup (const wchar_t*);_CRTIMP int __cdecl wcsicmp (const wchar_t*, const wchar_t*);_CRTIMP int __cdecl wcsicoll (const wchar_t*, const wchar_t*);_CRTIMP wchar_t* __cdecl wcslwr (wchar_t*);_CRTIMP int __cdecl wcsnicmp (const wchar_t*, const wchar_t*, size_t);_CRTIMP wchar_t* __cdecl wcsnset (wchar_t*, wchar_t, size_t);_CRTIMP wchar_t* __cdecl wcsrev (wchar_t*);_CRTIMP wchar_t* __cdecl wcsset (wchar_t*, wchar_t);_CRTIMP wchar_t* __cdecl wcsupr (wchar_t*);#endif /* Not _NO_OLDNAMES */#endif /* Not strict ANSI */#define _WSTRING_DEFINED#endif /* _WSTRING_DEFINED *//* These are resolved by -lmingwex. Alternatively, they can be resolved by adding -lmsvcp60 to your command line, which will give you the VC++ versions of these functions. If you want the latter and don't have msvcp60.dll in your windows system directory, you can easily obtain it with a search from your favorite search engine. */#ifndef __STRICT_ANSI__typedef wchar_t _Wint_t;#endiftypedef int mbstate_t;wint_t __cdecl btowc(int);size_t __cdecl mbrlen(const char * __restrict__, size_t, mbstate_t * __restrict__);size_t __cdecl mbrtowc(wchar_t * __restrict__, const char * __restrict__, size_t, mbstate_t * __restrict__);size_t __cdecl mbsrtowcs(wchar_t * __restrict__, const char ** __restrict__, size_t, mbstate_t * __restrict__);size_t __cdecl wcrtomb(char * __restrict__, wchar_t, mbstate_t * __restrict__);size_t __cdecl wcsrtombs(char * __restrict__, const wchar_t ** __restrict__, size_t, mbstate_t * __restrict__);int __cdecl wctob(wint_t);#ifndef __NO_ISOCEXT /* these need static lib libmingwex.a */__CRT_INLINE int __cdecl fwide(FILE* __UNUSED_PARAM(stream), int __UNUSED_PARAM(mode)) {return -1;} /* limited to byte orientation */ __CRT_INLINE int __cdecl mbsinit(const mbstate_t* __UNUSED_PARAM(ps)) {return 1;}wchar_t* __cdecl wmemset(wchar_t *, wchar_t, size_t);wchar_t* __cdecl wmemchr(const wchar_t*, wchar_t, size_t);int wmemcmp(const wchar_t*, const wchar_t *, size_t);wchar_t* __cdecl wmemcpy(wchar_t* __restrict__, const wchar_t* __restrict__, size_t);wchar_t* __cdecl wmemmove(wchar_t* s1, const wchar_t *, size_t);long long __cdecl wcstoll(const wchar_t * __restrict__, wchar_t** __restrict__, int);unsigned long long __cdecl wcstoull(const wchar_t * __restrict__, wchar_t ** __restrict__, int);#endif /* __NO_ISOCEXT */#ifndef __STRICT_ANSI__/* non-ANSI wide char functions from io.h, direct.h, sys/stat.h and locale.h. */#ifndef _FSIZE_T_DEFINEDtypedef unsigned long _fsize_t;#define _FSIZE_T_DEFINED#endif#ifndef _WFINDDATA_T_DEFINEDstruct _wfinddata_t { unsigned attrib; time_t time_create; /* -1 for FAT file systems */ time_t time_access; /* -1 for FAT file systems */ time_t time_write; _fsize_t size; wchar_t name[260]; /* may include spaces. */};struct _wfinddatai64_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; __int64 size; wchar_t name[260];};struct __wfinddata64_t { unsigned attrib; __time64_t time_create; __time64_t time_access; __time64_t time_write; _fsize_t size; wchar_t name[260];};#define _WFINDDATA_T_DEFINED#endif/* Wide character versions. Also defined in io.h. *//* CHECK: I believe these only exist in MSVCRT, and not in CRTDLL. Also applies to other wide character versions? */#if !defined (_WIO_DEFINED)#if defined (__MSVCRT__)#include <stdint.h> /* For intptr_t. */_CRTIMP int __cdecl _waccess (const wchar_t*, int);_CRTIMP int __cdecl _wchmod (const wchar_t*, int);_CRTIMP int __cdecl _wcreat (const wchar_t*, int);_CRTIMP long __cdecl _wfindfirst (const wchar_t*, struct _wfinddata_t *);_CRTIMP int __cdecl _wfindnext (long, struct _wfinddata_t *);_CRTIMP int __cdecl _wunlink (const wchar_t*);_CRTIMP int __cdecl _wopen (const wchar_t*, int, ...);_CRTIMP int __cdecl _wsopen (const wchar_t*, int, int, ...);_CRTIMP wchar_t* __cdecl _wmktemp (wchar_t*);_CRTIMP long __cdecl _wfindfirsti64 (const wchar_t*, struct _wfinddatai64_t*);_CRTIMP int __cdecl _wfindnexti64 (long, struct _wfinddatai64_t*);#if __MSVCRT_VERSION__ >= 0x0601_CRTIMP intptr_t __cdecl _wfindfirst64(const wchar_t*, struct __wfinddata64_t*); _CRTIMP intptr_t __cdecl _wfindnext64(intptr_t, struct __wfinddata64_t*);#endif /* __MSVCRT_VERSION__ >= 0x0601 */#endif /* defined (__MSVCRT__) */#define _WIO_DEFINED#endif /* _WIO_DEFINED */#ifndef _WDIRECT_DEFINED/* Also in direct.h */#ifdef __MSVCRT__ _CRTIMP int __cdecl _wchdir (const wchar_t*);_CRTIMP wchar_t* __cdecl _wgetcwd (wchar_t*, int);_CRTIMP wchar_t* __cdecl _wgetdcwd (int, wchar_t*, int);_CRTIMP int __cdecl _wmkdir (const wchar_t*);_CRTIMP int __cdecl _wrmdir (const wchar_t*);#endif /* __MSVCRT__ */#define _WDIRECT_DEFINED#endif /* _WDIRECT_DEFINED */#ifndef _STAT_DEFINED/* * The structure manipulated and returned by stat and fstat. * * NOTE: If called on a directory the values in the time fields are not only * invalid, they will cause localtime et. al. to return NULL. And calling * asctime with a NULL pointer causes an Invalid Page Fault. So watch it! */struct _stat{ _dev_t st_dev; /* Equivalent to drive number 0=A 1=B ... */ _ino_t st_ino; /* Always zero ? */ _mode_t st_mode; /* See above constants */ short st_nlink; /* Number of links. */ short st_uid; /* User: Maybe significant on NT ? */ short st_gid; /* Group: Ditto */ _dev_t st_rdev; /* Seems useless (not even filled in) */ _off_t st_size; /* File size in bytes */ time_t st_atime; /* Accessed date (always 00:00 hrs local * on FAT) */ time_t st_mtime; /* Modified time */ time_t st_ctime; /* Creation time */};#ifndef _NO_OLDNAMES/* NOTE: Must be the same as _stat above. */struct stat{ _dev_t st_dev; /* Equivalent to drive number 0=A 1=B ... */ _ino_t st_ino; /* Always zero ? */ _mode_t st_mode; /* See above constants */ short st_nlink; /* Number of links. */ short st_uid; /* User: Maybe significant on NT ? */ short st_gid; /* Group: Ditto */ _dev_t st_rdev; /* Seems useless (not even filled in) */ _off_t st_size; /* File size in bytes */ time_t st_atime; /* Accessed date (always 00:00 hrs local * on FAT) */ time_t st_mtime; /* Modified time */ time_t st_ctime; /* Creation time */};#endif /* _NO_OLDNAMES */#if defined (__MSVCRT__)struct _stati64 { _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; time_t st_atime; time_t st_mtime; time_t st_ctime; };struct __stat64{ _dev_t st_dev; _ino_t st_ino; _mode_t 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;};#endif /* __MSVCRT__ */#define _STAT_DEFINED#endif /* _STAT_DEFINED */#if !defined ( _WSTAT_DEFINED)/* also declared in sys/stat.h */#if defined __MSVCRT___CRTIMP int __cdecl _wstat (const wchar_t*, struct _stat*);_CRTIMP int __cdecl _wstati64 (const wchar_t*, struct _stati64*);#if __MSVCRT_VERSION__ >= 0x0601_CRTIMP int __cdecl _wstat64 (const wchar_t*, struct __stat64*);#endif /* __MSVCRT_VERSION__ >= 0x0601 */#endif /* __MSVCRT__ */#define _WSTAT_DEFINED#endif /* ! _WSTAT_DEFIND */#ifndef _WLOCALE_DEFINED /* also declared in locale.h */_CRTIMP wchar_t* __cdecl _wsetlocale (int, const wchar_t*);#define _WLOCALE_DEFINED#endif#endif /* not __STRICT_ANSI__ */#ifdef __cplusplus} /* end of extern "C" */#endif#endif /* Not RC_INVOKED */#endif /* not _WCHAR_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -