Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1f7489d4
Commit
1f7489d4
authored
Mar 29, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crtdll: Share source with msvcrt.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
610d48ba
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
620 additions
and
720 deletions
+620
-720
Makefile.in
dlls/crtdll/Makefile.in
+31
-2
crtdll.spec
dlls/crtdll/crtdll.spec
+518
-518
crtdll_main.c
dlls/crtdll/crtdll_main.c
+0
-199
data.c
dlls/msvcrt/data.c
+23
-0
msvcrt.h
dlls/msvcrt/msvcrt.h
+4
-0
string.c
dlls/msvcrt/string.c
+44
-0
make_specfiles
tools/make_specfiles
+0
-1
No files found.
dlls/crtdll/Makefile.in
View file @
1f7489d4
EXTRADEFS
=
-D_MT
-D_MSVCR_VER
=
0
-D_CRTDLL
MODULE
=
crtdll.dll
IMPORTS
=
msvcrt
PARENTSRC
=
../msvcrt
DELAYIMPORTS
=
advapi32 user32
C_SRCS
=
\
crtdll_main.c
cpp.c
\
console.c
\
ctype.c
\
data.c
\
dir.c
\
environ.c
\
locale.c
\
errno.c
\
exit.c
\
except.c
\
except_arm.c
\
except_arm64.c
\
except_i386.c
\
except_x86_64.c
\
lock.c
\
file.c
\
heap.c
\
math.c
\
mbcs.c
\
misc.c
\
process.c
\
main.c
\
string.c
\
scanf.c
\
time.c
\
undname.c
\
thread.c
\
wcs.c
dlls/crtdll/crtdll.spec
View file @
1f7489d4
# Old C runtime library. All functions provided by msvcrt
@ cdecl -arch=win32 ??2@YAPAXI@Z(long)
msvcrt.??2@YAPAXI@Z
@ cdecl -arch=win64 ??2@YAPEAX_K@Z(long)
msvcrt.??2@YAPEAX_K@Z
@ cdecl -arch=win32 ??3@YAXPAX@Z(ptr)
msvcrt.??3@YAXPAX@Z
@ cdecl -arch=win64 ??3@YAXPEAX@Z(ptr)
msvcrt.??3@YAXPEAX@Z
@ cdecl -arch=win32 ?_set_new_handler@@YAP6AHI@ZP6AHI@Z@Z(ptr)
msvcrt.?_set_new_handler@@YAP6AHI@ZP6AHI@Z@Z
@ cdecl -arch=win64 ?_set_new_handler@@YAP6AH_K@ZP6AH0@Z@Z(ptr)
msvcrt.?_set_new_handler@@YAP6AH_K@ZP6AH0@Z@Z
@ cdecl -arch=i386 _CIacos()
msvcrt._CIacos
@ cdecl -arch=i386 _CIasin()
msvcrt._CIasin
@ cdecl -arch=i386 _CIatan()
msvcrt._CIatan
@ cdecl -arch=i386 _CIatan2()
msvcrt._CIatan2
@ cdecl -arch=i386 _CIcos()
msvcrt._CIcos
@ cdecl -arch=i386 _CIcosh()
msvcrt._CIcosh
@ cdecl -arch=i386 _CIexp()
msvcrt._CIexp
@ cdecl -arch=i386 _CIfmod()
msvcrt._CIfmod
@ cdecl -arch=i386 _CIlog()
msvcrt._CIlog
@ cdecl -arch=i386 _CIlog10()
msvcrt._CIlog10
@ cdecl -arch=i386 _CIpow()
msvcrt._CIpow
@ cdecl -arch=i386 _CIsin()
msvcrt._CIsin
@ cdecl -arch=i386 _CIsinh()
msvcrt._CIsinh
@ cdecl -arch=i386 _CIsqrt()
msvcrt._CIsqrt
@ cdecl -arch=i386 _CItan()
msvcrt._CItan
@ cdecl -arch=i386 _CItanh()
msvcrt._CItanh
@ extern _HUGE_dll
msvcrt.
_HUGE
@ cdecl _XcptFilter(long ptr)
msvcrt._XcptFilter
@ cdecl -arch=win32 ??2@YAPAXI@Z(long)
MSVCRT_operator_new
@ cdecl -arch=win64 ??2@YAPEAX_K@Z(long)
MSVCRT_operator_new
@ cdecl -arch=win32 ??3@YAXPAX@Z(ptr)
MSVCRT_operator_delete
@ cdecl -arch=win64 ??3@YAXPEAX@Z(ptr)
MSVCRT_operator_delete
@ cdecl -arch=win32 ?_set_new_handler@@YAP6AHI@ZP6AHI@Z@Z(ptr)
MSVCRT__set_new_handler
@ cdecl -arch=win64 ?_set_new_handler@@YAP6AH_K@ZP6AH0@Z@Z(ptr)
MSVCRT__set_new_handler
@ cdecl -arch=i386 _CIacos()
@ cdecl -arch=i386 _CIasin()
@ cdecl -arch=i386 _CIatan()
@ cdecl -arch=i386 _CIatan2()
@ cdecl -arch=i386 _CIcos()
@ cdecl -arch=i386 _CIcosh()
@ cdecl -arch=i386 _CIexp()
@ cdecl -arch=i386 _CIfmod()
@ cdecl -arch=i386 _CIlog()
@ cdecl -arch=i386 _CIlog10()
@ cdecl -arch=i386 _CIpow()
@ cdecl -arch=i386 _CIsin()
@ cdecl -arch=i386 _CIsinh()
@ cdecl -arch=i386 _CIsqrt()
@ cdecl -arch=i386 _CItan()
@ cdecl -arch=i386 _CItanh()
@ extern _HUGE_dll
MSVCRT_
_HUGE
@ cdecl _XcptFilter(long ptr)
@ cdecl __GetMainArgs(ptr ptr ptr long)
@ extern __argc_dll
msvcrt.
__argc
@ extern __argv_dll
msvcrt.
__argv
@ cdecl __dllonexit(ptr ptr ptr)
msvcrt.__dllonexit
@ cdecl __doserrno()
msvcrt.
__doserrno
@ cdecl __fpecode()
msvcrt.__fpecode
@ cdecl __isascii(long)
msvcrt.
__isascii
@ cdecl __iscsym(long)
msvcrt.
__iscsym
@ cdecl __iscsymf(long)
msvcrt.
__iscsymf
@ extern __mb_cur_max_dll
msvcrt.
__mb_cur_max
@ cdecl __pxcptinfoptrs()
msvcrt.
__pxcptinfoptrs
@ cdecl __threadhandle()
msvcrt.__threadhandle
@ cdecl __threadid()
msvcrt.__threadi
d
@ cdecl __toascii(long)
msvcrt.
__toascii
@ cdecl _abnormal_termination()
msvcrt._abnormal_termination
@ cdecl _access(str long)
msvcrt.
_access
@ extern _acmdln_dll
msvcrt.
_acmdln
@ extern _aexit_rtn_dll
msvcrt.
_aexit_rtn
@ cdecl _amsg_exit(long)
msvcrt._amsg_exit
@ cdecl _assert(str str long)
msvcrt.
_assert
@ extern __argc_dll
MSVCRT_
__argc
@ extern __argv_dll
MSVCRT_
__argv
@ cdecl __dllonexit(ptr ptr ptr)
@ cdecl __doserrno()
MSVCRT_
__doserrno
@ cdecl __fpecode()
@ cdecl __isascii(long)
MSVCRT_
__isascii
@ cdecl __iscsym(long)
MSVCRT_
__iscsym
@ cdecl __iscsymf(long)
MSVCRT_
__iscsymf
@ extern __mb_cur_max_dll
MSVCRT_
__mb_cur_max
@ cdecl __pxcptinfoptrs()
MSVCRT_
__pxcptinfoptrs
@ cdecl __threadhandle()
kernel32.GetCurrentThread
@ cdecl __threadid()
kernel32.GetCurrentThreadI
d
@ cdecl __toascii(long)
MSVCRT_
__toascii
@ cdecl _abnormal_termination()
@ cdecl _access(str long)
MSVCRT_
_access
@ extern _acmdln_dll
MSVCRT_
_acmdln
@ extern _aexit_rtn_dll _aexit_rtn
@ cdecl _amsg_exit(long)
@ cdecl _assert(str str long)
MSVCRT_
_assert
@ extern _basemajor_dll CRTDLL__basemajor_dll
@ extern _baseminor_dll CRTDLL__baseminor_dll
@ extern _baseversion_dll
CRTDLL__baseversion_dll
@ cdecl _beep(long long)
msvcrt.
_beep
@ cdecl _beginthread(ptr long ptr)
msvcrt._beginthread
@ cdecl _c_exit()
msvcrt.
_c_exit
@ cdecl _cabs(long)
msvcrt.
_cabs
@ cdecl _cexit()
msvcrt.
_cexit
@ cdecl _cgets(ptr)
msvcrt._cgets
@ cdecl _chdir(str)
msvcrt.
_chdir
@ cdecl _chdrive(long)
msvcrt.
_chdrive
@ cdecl _chgsign(double)
msvcrt.
_chgsign
@ cdecl _chmod(str long)
msvcrt.
_chmod
@ cdecl _chsize(long long)
msvcrt.
_chsize
@ cdecl _clearfp()
msvcrt._clearfp
@ cdecl _close(long)
msvcrt.
_close
@ cdecl _commit(long)
msvcrt.
_commit
@ extern _commode_dll
msvcrt.
_commode
@ cdecl _control87(long long)
msvcrt._control87
@ cdecl _controlfp(long long)
msvcrt._controlfp
@ cdecl _copysign(double double)
msvcrt.
_copysign
@ varargs _cprintf(str)
msvcrt._cprintf
@ extern _baseversion_dll
MSVCRT__osver
@ cdecl _beep(long long)
MSVCRT_
_beep
@ cdecl _beginthread(ptr long ptr)
@ cdecl _c_exit()
MSVCRT_
_c_exit
@ cdecl _cabs(long)
MSVCRT_
_cabs
@ cdecl _cexit()
MSVCRT_
_cexit
@ cdecl _cgets(ptr)
@ cdecl _chdir(str)
MSVCRT_
_chdir
@ cdecl _chdrive(long)
MSVCRT_
_chdrive
@ cdecl _chgsign(double)
MSVCRT_
_chgsign
@ cdecl _chmod(str long)
MSVCRT_
_chmod
@ cdecl _chsize(long long)
MSVCRT_
_chsize
@ cdecl _clearfp()
@ cdecl _close(long)
MSVCRT_
_close
@ cdecl _commit(long)
MSVCRT_
_commit
@ extern _commode_dll
MSVCRT_
_commode
@ cdecl _control87(long long)
@ cdecl _controlfp(long long)
@ cdecl _copysign(double double)
MSVCRT_
_copysign
@ varargs _cprintf(str)
@ extern _cpumode_dll CRTDLL__cpumode_dll
@ cdecl _cputs(str)
msvcrt._cputs
@ cdecl _creat(str long)
msvcrt.
_creat
@ varargs _cscanf(str)
msvcrt._cscanf
@ extern _ctype
msvcrt.
_ctype
@ cdecl _cwait(ptr long long)
msvcrt._cwait
@ extern _daylight_dll
msvcrt.
_daylight
@ cdecl _dup(long)
msvcrt.
_dup
@ cdecl _dup2(long long)
msvcrt.
_dup2
@ cdecl _ecvt(double long ptr ptr)
msvcrt.
_ecvt
@ cdecl _endthread()
msvcrt._endthread
@ extern _environ_dll
msvcrt.
_environ
@ cdecl _eof(long)
msvcrt.
_eof
@ cdecl _errno()
msvcrt.
_errno
@ cdecl -arch=i386 _except_handler2(ptr ptr ptr ptr)
msvcrt._except_handler2
@ varargs _execl(str str)
msvcrt._execl
@ varargs _execle(str str)
msvcrt._execle
@ varargs _execlp(str str)
msvcrt._execlp
@ varargs _execlpe(str str)
msvcrt._execlpe
@ cdecl _execv(str ptr)
msvcrt._execv
@ cdecl _execve(str ptr ptr)
msvcrt.
_execve
@ cdecl _execvp(str ptr)
msvcrt._execvp
@ cdecl _execvpe(str ptr ptr)
msvcrt._execvpe
@ cdecl _exit(long)
msvcrt.
_exit
@ cdecl _expand(ptr long)
msvcrt._expand
@ cdecl _fcloseall()
msvcrt.
_fcloseall
@ cdecl _fcvt(double long ptr ptr)
msvcrt.
_fcvt
@ cdecl _fdopen(long str)
msvcrt.
_fdopen
@ cdecl _fgetchar()
msvcrt.
_fgetchar
@ cdecl _fgetwchar()
msvcrt.
_fgetwchar
@ cdecl _filbuf(ptr)
msvcrt.
_filbuf
@ extern _fileinfo_dll msvcrt._fileinfo
@ cdecl _filelength(long)
msvcrt.
_filelength
@ cdecl _fileno(ptr)
msvcrt.
_fileno
@ cdecl _findclose(long)
msvcrt.
_findclose
@ cdecl _findfirst(str ptr)
msvcrt.
_findfirst
@ cdecl _findnext(long ptr)
msvcrt.
_findnext
@ cdecl _finite(double)
msvcrt.
_finite
@ cdecl _flsbuf(long ptr)
msvcrt.
_flsbuf
@ cdecl _flushall()
msvcrt.
_flushall
@ extern _fmode_dll
msvcrt.
_fmode
@ cdecl _fpclass(double)
msvcrt.
_fpclass
@ cdecl -arch=i386,x86_64,arm,arm64 _fpieee_flt(long ptr ptr)
msvcrt._fpieee_flt
@ cdecl _fpreset()
msvcrt._fpreset
@ cdecl _fputchar(long)
msvcrt.
_fputchar
@ cdecl _fputwchar(long)
msvcrt.
_fputwchar
@ cdecl _fsopen(str str long)
msvcrt.
_fsopen
@ cdecl _fstat(long ptr)
CRTDLL
__fstat
@ cdecl _ftime(ptr)
msvcrt.
_ftime
@ cdecl -arch=i386 -ret64 _ftol()
msvcrt.
_ftol
@ cdecl _fullpath(ptr str long)
msvcrt.
_fullpath
@ cdecl _futime(long ptr)
msvcrt._futime
@ cdecl _gcvt(double long str)
msvcrt.
_gcvt
@ cdecl _get_osfhandle(long)
msvcrt.
_get_osfhandle
@ cdecl _getch()
msvcrt._getch
@ cdecl _getche()
msvcrt._getche
@ cdecl _getcwd(str long)
msvcrt.
_getcwd
@ cdecl _getdcwd(long str long)
msvcrt.
_getdcwd
@ cdecl _getdiskfree(long ptr)
msvcrt.
_getdiskfree
@ cdecl _getdllprocaddr(long str long)
msvcrt._getdllprocaddr
@ cdecl _getdrive()
msvcrt.
_getdrive
@ cdecl _getdrives()
msvcrt._getd
rives
@ cdecl _getpid()
msvcrt._getpid
@
cdecl _getsystime(ptr) msvcrt._getsystime
@ cdecl _getw(ptr)
msvcrt.
_getw
@ cdecl -arch=i386 _global_unwind2(ptr)
msvcrt._global_unwind2
@ cdecl _heapchk()
msvcrt._heapchk
@ cdecl _heapmin()
msvcrt._heapmin
@ cdecl _heapset(long)
msvcrt._heapset
@ cdecl _heapwalk(ptr)
msvcrt._heapwalk
@ cdecl _hypot(double double)
msvcrt._hypot
@ cdecl _initterm(ptr ptr)
msvcrt._initterm
@ extern _iob
msvcrt.
_iob
@ cdecl _isatty(long)
msvcrt.
_isatty
@ cdecl _isctype(long long)
msvcrt.
_isctype
@
cdecl _ismbbalnum(long) msvcrt._ismbbalnum
@
cdecl _ismbbalpha(long) msvcrt._ismbbalpha
@
cdecl _ismbbgraph(long) msvcrt._ismbbgraph
@
cdecl _ismbbkalnum(long) msvcrt._ismbbkalnum
@ cdecl _ismbbkana(long)
msvcrt._ismbbkana
@
cdecl _ismbbkpunct(long) msvcrt._ismbbkpunct
@ cdecl _ismbblead(long)
msvcrt._ismbblead
@
cdecl _ismbbprint(long) msvcrt._ismbbprint
@
cdecl _ismbbpunct(long) msvcrt._ismbbpunct
@ cdecl _ismbbtrail(long)
msvcrt._ismbbtrail
@ cdecl _ismbcalpha(long)
msvcrt._ismbcalpha
@ cdecl _ismbcdigit(long)
msvcrt._ismbcdigit
@ cdecl _ismbchira(long)
msvcrt._ismbchira
@ cdecl _ismbckata(long)
msvcrt._ismbckata
@ cdecl _ismbcl0(long)
msvcrt._ismbcl0
@ cdecl _ismbcl1(long)
msvcrt._ismbcl1
@ cdecl _ismbcl2(long)
msvcrt._ismbcl2
@ cdecl _ismbclegal(long)
msvcrt._ismbclegal
@ cdecl _ismbclower(long)
msvcrt._ismbclower
@ cdecl _ismbcprint(long)
msvcrt._ismbcprint
@ cdecl _ismbcspace(long)
msvcrt._ismbcspace
@ cdecl _ismbcsymbol(long)
msvcrt._ismbcsymbol
@ cdecl _ismbcupper(long)
msvcrt._ismbcupper
@ cdecl _ismbslead(ptr ptr)
msvcrt._ismbslead
@ cdecl _ismbstrail(ptr ptr)
msvcrt._ismbstrail
@ cdecl _isnan(double)
msvcrt.
_isnan
@ cdecl _itoa(long ptr long)
msvcrt.
_itoa
@ cdecl _itow(long ptr long)
msvcrt
._itow
@ cdecl _j0(double)
msvcrt.
_j0
@ cdecl _j1(double)
msvcrt.
_j1
@ cdecl _jn(long double)
msvcrt.
_jn
@ cdecl _kbhit()
msvcrt._kbhit
@ cdecl _lfind(ptr ptr ptr long ptr)
msvcrt._lfind
@ cdecl _loaddll(str)
msvcrt._loaddll
@ cdecl -arch=i386 _local_unwind2(ptr long)
msvcrt._local_unwind2
@ cdecl _locking(long long long)
msvcrt.
_locking
@ cdecl _logb(double)
msvcrt.
_logb
@ cdecl _lrotl(long long)
msvcrt.
_lrotl
@ cdecl _lrotr(long long)
msvcrt.
_lrotr
@ cdecl _lsearch(ptr ptr ptr long ptr)
msvcrt._lsearch
@ cdecl _lseek(long long long)
msvcrt.
_lseek
@ cdecl _ltoa(long ptr long)
msvcrt
._ltoa
@ cdecl _ltow(long ptr long)
msvcrt
._ltow
@ cdecl _makepath(ptr str str str str)
msvcrt.
_makepath
@ cdecl _matherr(ptr)
msvcrt.
_matherr
@ cdecl _mbbtombc(long)
msvcrt._mbbtombc
@ cdecl _mbbtype(long long)
msvcrt._mbbtype
@ cdecl _mbccpy(ptr ptr)
msvcrt._mbccpy
@ cdecl _mbcjistojms(long)
msvcrt._mbcjistojms
@ cdecl _mbcjmstojis(long)
msvcrt._mbcjmstojis
@ cdecl _mbclen(ptr)
msvcrt._mbclen
@ cdecl _mbctohira(long)
msvcrt._mbctohira
@ cdecl _mbctokata(long)
msvcrt._mbctokata
@ cdecl _mbctolower(long)
msvcrt._mbctolower
@ cdecl _mbctombb(long)
msvcrt._mbctombb
@ cdecl _mbctoupper(long)
msvcrt._mbctoupper
@ extern _mbctype
msvcrt.
_mbctype
@ cdecl _mbsbtype(str long)
msvcrt._mbsbtype
@ cdecl _mbscat(str str)
msvcrt._mbscat
@ cdecl _mbschr(str long)
msvcrt._mbschr
@ cdecl _mbscmp(str str)
msvcrt._mbscmp
@ cdecl _mbscpy(ptr str)
msvcrt._mbscpy
@ cdecl _mbscspn(str str)
msvcrt._mbscspn
@ cdecl _mbsdec(ptr ptr)
msvcrt._mbsdec
@ cdecl _mbsdup(str)
msvcrt._mbs
dup
@ cdecl _mbsicmp(str str)
msvcrt._mbsicmp
@ cdecl _mbsinc(str)
msvcrt._mbsinc
@ cdecl _mbslen(str)
msvcrt._mbslen
@ cdecl _mbslwr(str)
msvcrt._mbslwr
@ cdecl _mbsnbcat(str str long)
msvcrt._mbsnbcat
@ cdecl _mbsnbcmp(str str long)
msvcrt._mbsnbcmp
@ cdecl _mbsnbcnt(ptr long)
msvcrt._mbsnbcnt
@ cdecl _mbsnbcpy(ptr str long)
msvcrt._mbsnbcpy
@ cdecl _mbsnbicmp(str str long)
msvcrt._mbsnbicmp
@ cdecl _mbsnbset(ptr long long)
msvcrt._mbsnbset
@ cdecl _mbsncat(str str long)
msvcrt._mbsncat
@ cdecl _mbsnccnt(str long)
msvcrt._mbsnccnt
@ cdecl _mbsncmp(str str long)
msvcrt._mbsncmp
@ cdecl _mbsncpy(ptr str long)
msvcrt._mbsncpy
@ cdecl _mbsnextc(str)
msvcrt._mbsnextc
@ cdecl _mbsnicmp(str str long)
msvcrt._mbsnicmp
@ cdecl _mbsninc(str long)
msvcrt._mbsninc
@ cdecl _mbsnset(ptr long long)
msvcrt._mbsnset
@ cdecl _mbspbrk(str str)
msvcrt._mbspbrk
@ cdecl _mbsrchr(str long)
msvcrt._mbsrchr
@ cdecl _mbsrev(str)
msvcrt._mbsrev
@ cdecl _mbsset(ptr long)
msvcrt._mbsset
@ cdecl _mbsspn(str str)
msvcrt._mbsspn
@ cdecl _mbsspnp(str str)
msvcrt._mbsspnp
@ cdecl _mbsstr(str str)
msvcrt._mbsstr
@ cdecl _mbstok(str str)
msvcrt._mbstok
@ cdecl _mbstrlen(str)
msvcrt._mbstrlen
@ cdecl _mbsupr(str)
msvcrt._mbsupr
@ cdecl _memccpy(ptr ptr long long)
msvcrt
._memccpy
@ cdecl _memicmp(str str long)
msvcrt.
_memicmp
@ cdecl _mkdir(str)
msvcrt.
_mkdir
@ cdecl _mktemp(str)
msvcrt.
_mktemp
@ cdecl _msize(ptr)
msvcrt._msize
@ cdecl _nextafter(double double)
msvcrt.
_nextafter
@ cdecl _onexit(ptr)
msvcrt.
_onexit
@ varargs _open(str long)
msvcrt.
_open
@ cdecl _open_osfhandle(long long)
msvcrt.
_open_osfhandle
@ extern _osmajor_dll
CRTDLL__osmajor_dll
@ extern _osminor_dll
CRTDLL__osminor_dll
@ cdecl _cputs(str)
@ cdecl _creat(str long)
MSVCRT_
_creat
@ varargs _cscanf(str)
@ extern _ctype
MSVCRT_
_ctype
@ cdecl _cwait(ptr long long)
@ extern _daylight_dll
MSVCRT__
_daylight
@ cdecl _dup(long)
MSVCRT_
_dup
@ cdecl _dup2(long long)
MSVCRT_
_dup2
@ cdecl _ecvt(double long ptr ptr)
MSVCRT_
_ecvt
@ cdecl _endthread()
@ extern _environ_dll
MSVCRT_
_environ
@ cdecl _eof(long)
MSVCRT_
_eof
@ cdecl _errno()
MSVCRT_
_errno
@ cdecl -arch=i386 _except_handler2(ptr ptr ptr ptr)
@ varargs _execl(str str)
@ varargs _execle(str str)
@ varargs _execlp(str str)
@ varargs _execlpe(str str)
@ cdecl _execv(str ptr)
@ cdecl _execve(str ptr ptr)
MSVCRT_
_execve
@ cdecl _execvp(str ptr)
@ cdecl _execvpe(str ptr ptr)
@ cdecl _exit(long)
MSVCRT_
_exit
@ cdecl _expand(ptr long)
@ cdecl _fcloseall()
MSVCRT_
_fcloseall
@ cdecl _fcvt(double long ptr ptr)
MSVCRT_
_fcvt
@ cdecl _fdopen(long str)
MSVCRT_
_fdopen
@ cdecl _fgetchar()
MSVCRT_
_fgetchar
@ cdecl _fgetwchar()
MSVCRT_
_fgetwchar
@ cdecl _filbuf(ptr)
MSVCRT_
_filbuf
# extern _fileinfo_dll
@ cdecl _filelength(long)
MSVCRT_
_filelength
@ cdecl _fileno(ptr)
MSVCRT_
_fileno
@ cdecl _findclose(long)
MSVCRT_
_findclose
@ cdecl _findfirst(str ptr)
MSVCRT_
_findfirst
@ cdecl _findnext(long ptr)
MSVCRT_
_findnext
@ cdecl _finite(double)
MSVCRT_
_finite
@ cdecl _flsbuf(long ptr)
MSVCRT_
_flsbuf
@ cdecl _flushall()
MSVCRT_
_flushall
@ extern _fmode_dll
MSVCRT_
_fmode
@ cdecl _fpclass(double)
MSVCRT_
_fpclass
@ cdecl -arch=i386,x86_64,arm,arm64 _fpieee_flt(long ptr ptr)
@ cdecl _fpreset()
@ cdecl _fputchar(long)
MSVCRT_
_fputchar
@ cdecl _fputwchar(long)
MSVCRT_
_fputwchar
@ cdecl _fsopen(str str long)
MSVCRT_
_fsopen
@ cdecl _fstat(long ptr)
MSVCRT
__fstat
@ cdecl _ftime(ptr)
MSVCRT_
_ftime
@ cdecl -arch=i386 -ret64 _ftol()
MSVCRT_
_ftol
@ cdecl _fullpath(ptr str long)
MSVCRT_
_fullpath
@ cdecl _futime(long ptr)
@ cdecl _gcvt(double long str)
MSVCRT_
_gcvt
@ cdecl _get_osfhandle(long)
MSVCRT_
_get_osfhandle
@ cdecl _getch()
@ cdecl _getche()
@ cdecl _getcwd(str long)
MSVCRT_
_getcwd
@ cdecl _getdcwd(long str long)
MSVCRT_
_getdcwd
@ cdecl _getdiskfree(long ptr)
MSVCRT_
_getdiskfree
@ cdecl _getdllprocaddr(long str long)
@ cdecl _getdrive()
MSVCRT_
_getdrive
@ cdecl _getdrives()
kernel32.GetLogicalD
rives
@ cdecl _getpid()
@
stub _getsystime(ptr)
@ cdecl _getw(ptr)
MSVCRT_
_getw
@ cdecl -arch=i386 _global_unwind2(ptr)
@ cdecl _heapchk()
@ cdecl _heapmin()
@ cdecl _heapset(long)
@ cdecl _heapwalk(ptr)
@ cdecl _hypot(double double)
@ cdecl _initterm(ptr ptr)
@ extern _iob
MSVCRT_
_iob
@ cdecl _isatty(long)
MSVCRT_
_isatty
@ cdecl _isctype(long long)
MSVCRT_
_isctype
@
stub _ismbbalnum(long)
@
stub _ismbbalpha(long)
@
stub _ismbbgraph(long)
@
stub _ismbbkalnum(long)
@ cdecl _ismbbkana(long)
@
stub _ismbbkpunct(long)
@ cdecl _ismbblead(long)
@
stub _ismbbprint(long)
@
stub _ismbbpunct(long)
@ cdecl _ismbbtrail(long)
@ cdecl _ismbcalpha(long)
@ cdecl _ismbcdigit(long)
@ cdecl _ismbchira(long)
@ cdecl _ismbckata(long)
@ cdecl _ismbcl0(long)
@ cdecl _ismbcl1(long)
@ cdecl _ismbcl2(long)
@ cdecl _ismbclegal(long)
@ cdecl _ismbclower(long)
@ cdecl _ismbcprint(long)
@ cdecl _ismbcspace(long)
@ cdecl _ismbcsymbol(long)
@ cdecl _ismbcupper(long)
@ cdecl _ismbslead(ptr ptr)
@ cdecl _ismbstrail(ptr ptr)
@ cdecl _isnan(double)
MSVCRT_
_isnan
@ cdecl _itoa(long ptr long)
MSVCRT_
_itoa
@ cdecl _itow(long ptr long)
ntdll
._itow
@ cdecl _j0(double)
MSVCRT_
_j0
@ cdecl _j1(double)
MSVCRT_
_j1
@ cdecl _jn(long double)
MSVCRT_
_jn
@ cdecl _kbhit()
@ cdecl _lfind(ptr ptr ptr long ptr)
@ cdecl _loaddll(str)
@ cdecl -arch=i386 _local_unwind2(ptr long)
@ cdecl _locking(long long long)
MSVCRT_
_locking
@ cdecl _logb(double)
MSVCRT_
_logb
@ cdecl _lrotl(long long)
MSVCRT_
_lrotl
@ cdecl _lrotr(long long)
MSVCRT_
_lrotr
@ cdecl _lsearch(ptr ptr ptr long ptr)
@ cdecl _lseek(long long long)
MSVCRT_
_lseek
@ cdecl _ltoa(long ptr long)
ntdll
._ltoa
@ cdecl _ltow(long ptr long)
ntdll
._ltow
@ cdecl _makepath(ptr str str str str)
MSVCRT_
_makepath
@ cdecl _matherr(ptr)
MSVCRT_
_matherr
@ cdecl _mbbtombc(long)
@ cdecl _mbbtype(long long)
@ cdecl _mbccpy(ptr ptr)
@ cdecl _mbcjistojms(long)
@ cdecl _mbcjmstojis(long)
@ cdecl _mbclen(ptr)
@ cdecl _mbctohira(long)
@ cdecl _mbctokata(long)
@ cdecl _mbctolower(long)
@ cdecl _mbctombb(long)
@ cdecl _mbctoupper(long)
@ extern _mbctype
MSVCRT
_mbctype
@ cdecl _mbsbtype(str long)
@ cdecl _mbscat(str str)
@ cdecl _mbschr(str long)
@ cdecl _mbscmp(str str)
@ cdecl _mbscpy(ptr str)
@ cdecl _mbscspn(str str)
@ cdecl _mbsdec(ptr ptr)
@ cdecl _mbsdup(str)
MSVCRT__str
dup
@ cdecl _mbsicmp(str str)
@ cdecl _mbsinc(str)
@ cdecl _mbslen(str)
@ cdecl _mbslwr(str)
@ cdecl _mbsnbcat(str str long)
@ cdecl _mbsnbcmp(str str long)
@ cdecl _mbsnbcnt(ptr long)
@ cdecl _mbsnbcpy(ptr str long)
@ cdecl _mbsnbicmp(str str long)
@ cdecl _mbsnbset(ptr long long)
@ cdecl _mbsncat(str str long)
@ cdecl _mbsnccnt(str long)
@ cdecl _mbsncmp(str str long)
@ cdecl _mbsncpy(ptr str long)
@ cdecl _mbsnextc(str)
@ cdecl _mbsnicmp(str str long)
@ cdecl _mbsninc(str long)
@ cdecl _mbsnset(ptr long long)
@ cdecl _mbspbrk(str str)
@ cdecl _mbsrchr(str long)
@ cdecl _mbsrev(str)
@ cdecl _mbsset(ptr long)
@ cdecl _mbsspn(str str)
@ cdecl _mbsspnp(str str)
@ cdecl _mbsstr(str str)
@ cdecl _mbstok(str str)
@ cdecl _mbstrlen(str)
@ cdecl _mbsupr(str)
@ cdecl _memccpy(ptr ptr long long)
ntdll
._memccpy
@ cdecl _memicmp(str str long)
MSVCRT_
_memicmp
@ cdecl _mkdir(str)
MSVCRT_
_mkdir
@ cdecl _mktemp(str)
MSVCRT_
_mktemp
@ cdecl _msize(ptr)
@ cdecl _nextafter(double double)
MSVCRT_
_nextafter
@ cdecl _onexit(ptr)
MSVCRT_
_onexit
@ varargs _open(str long)
MSVCRT_
_open
@ cdecl _open_osfhandle(long long)
MSVCRT_
_open_osfhandle
@ extern _osmajor_dll
MSVCRT__winmajor
@ extern _osminor_dll
MSVCRT__winminor
@ extern _osmode_dll CRTDLL__osmode_dll
@ extern _osver_dll
msvcrt.
_osver
@ extern _osversion_dll
CRTDLL__osversion_dll
@ cdecl _pclose(ptr)
msvcrt.
_pclose
@ extern _pctype_dll
msvcrt.
_pctype
@ extern _pgmptr_dll
msvcrt.
_pgmptr
@ cdecl _pipe(ptr long long)
msvcrt.
_pipe
@ cdecl _popen(str str)
msvcrt.
_popen
@ cdecl _purecall()
msvcrt._purecall
@ cdecl _putch(long)
msvcrt._putch
@ cdecl _putenv(str)
msvcrt._putenv
@ cdecl _putw(long ptr)
msvcrt.
_putw
@ extern _pwctype_dll msvcrt._pwctype
@ cdecl _read(long ptr long)
msvcrt.
_read
@ cdecl _rmdir(str)
msvcrt.
_rmdir
@ cdecl _rmtmp()
msvcrt.
_rmtmp
@ cdecl _rotl(long long)
msvcrt._rotl
@ cdecl _rotr(long long)
msvcrt._rotr
@ cdecl _scalb(double long)
msvcrt.
_scalb
@ cdecl _searchenv(str str ptr)
msvcrt.
_searchenv
@ cdecl _seterrormode(long)
msvcrt._seterrormode
@ cdecl -arch=i386,x86_64,arm,arm64 -norelay _setjmp(ptr)
msvcrt.
_setjmp
@ cdecl _setmode(long long)
msvcrt.
_setmode
@
cdecl _setsystime(ptr long) msvcrt._setsystime
@ cdecl _sleep(long)
msvcrt.
_sleep
@ varargs _snprintf(ptr long str)
msvcrt.
_snprintf
@ varargs _snwprintf(ptr long wstr)
msvcrt.
_snwprintf
@ varargs _sopen(str long long)
msvcrt.
_sopen
@ varargs _spawnl(long str str)
msvcrt._spawnl
@ varargs _spawnle(long str str)
msvcrt._spawnle
@ varargs _spawnlp(long str str)
msvcrt._spawnlp
@ varargs _spawnlpe(long str str)
msvcrt._spawnlpe
@ cdecl _spawnv(long str ptr)
msvcrt._spawnv
@ cdecl _spawnve(long str ptr ptr)
msvcrt.
_spawnve
@ cdecl _spawnvp(long str ptr)
msvcrt._spawnvp
@ cdecl _spawnvpe(long str ptr ptr)
msvcrt.
_spawnvpe
@ cdecl _splitpath(str ptr ptr ptr ptr)
msvcrt.
_splitpath
@ cdecl _stat(str ptr)
CRTDLL_
_stat
@ cdecl _statusfp()
msvcrt._statusfp
@ cdecl _strcmpi(str str)
msvcrt._strcmpi
@ cdecl _strdate(ptr)
msvcrt.
_strdate
@ extern _osver_dll
MSVCRT_
_osver
@ extern _osversion_dll
MSVCRT__winver
@ cdecl _pclose(ptr)
MSVCRT_
_pclose
@ extern _pctype_dll
MSVCRT_
_pctype
@ extern _pgmptr_dll
MSVCRT_
_pgmptr
@ cdecl _pipe(ptr long long)
MSVCRT_
_pipe
@ cdecl _popen(str str)
MSVCRT_
_popen
@ cdecl _purecall()
@ cdecl _putch(long)
@ cdecl _putenv(str)
@ cdecl _putw(long ptr)
MSVCRT_
_putw
# extern _pwctype_dll
@ cdecl _read(long ptr long)
MSVCRT_
_read
@ cdecl _rmdir(str)
MSVCRT_
_rmdir
@ cdecl _rmtmp()
MSVCRT_
_rmtmp
@ cdecl _rotl(long long)
@ cdecl _rotr(long long)
@ cdecl _scalb(double long)
MSVCRT_
_scalb
@ cdecl _searchenv(str str ptr)
MSVCRT_
_searchenv
@ cdecl _seterrormode(long)
@ cdecl -arch=i386,x86_64,arm,arm64 -norelay _setjmp(ptr)
MSVCRT_
_setjmp
@ cdecl _setmode(long long)
MSVCRT_
_setmode
@
stub _setsystime(ptr long)
@ cdecl _sleep(long)
MSVCRT_
_sleep
@ varargs _snprintf(ptr long str)
MSVCRT_
_snprintf
@ varargs _snwprintf(ptr long wstr)
MSVCRT_
_snwprintf
@ varargs _sopen(str long long)
MSVCRT_
_sopen
@ varargs _spawnl(long str str)
@ varargs _spawnle(long str str)
@ varargs _spawnlp(long str str)
@ varargs _spawnlpe(long str str)
@ cdecl _spawnv(long str ptr)
@ cdecl _spawnve(long str ptr ptr)
MSVCRT_
_spawnve
@ cdecl _spawnvp(long str ptr)
@ cdecl _spawnvpe(long str ptr ptr)
MSVCRT_
_spawnvpe
@ cdecl _splitpath(str ptr ptr ptr ptr)
MSVCRT_
_splitpath
@ cdecl _stat(str ptr)
MSVCRT
_stat
@ cdecl _statusfp()
@ cdecl _strcmpi(str str)
MSVCRT__stricmp
@ cdecl _strdate(ptr)
MSVCRT_
_strdate
@ cdecl _strdec(str str)
@ cdecl _strdup(str)
msvcrt.
_strdup
@ cdecl _strerror(long)
msvcrt.
_strerror
@ cdecl _stricmp(str str)
msvcrt.
_stricmp
@ cdecl _stricoll(str str)
msvcrt.
_stricoll
@ cdecl _strdup(str)
MSVCRT_
_strdup
@ cdecl _strerror(long)
MSVCRT_
_strerror
@ cdecl _stricmp(str str)
MSVCRT_
_stricmp
@ cdecl _stricoll(str str)
MSVCRT_
_stricoll
@ cdecl _strinc(str)
@ cdecl _strlwr(str)
msvcrt.
_strlwr
@ cdecl _strncnt(str long)
@ cdecl _strlwr(str)
MSVCRT_
_strlwr
@ cdecl _strncnt(str long)
MSVCRT___strncnt
@ cdecl _strnextc(str)
@ cdecl _strnicmp(str str long)
msvcrt.
_strnicmp
@ cdecl _strnicmp(str str long)
MSVCRT_
_strnicmp
@ cdecl _strninc(str long)
@ cdecl _strnset(str long long)
msvcrt.
_strnset
@ cdecl _strrev(str)
msvcrt.
_strrev
@ cdecl _strset(str long)
msvcrt._strset
@ cdecl _strnset(str long long)
MSVCRT_
_strnset
@ cdecl _strrev(str)
MSVCRT_
_strrev
@ cdecl _strset(str long)
@ cdecl _strspnp(str str)
@ cdecl _strtime(ptr)
msvcrt.
_strtime
@ cdecl _strupr(str)
msvcrt.
_strupr
@ cdecl _swab(str str long)
msvcrt.
_swab
@ extern _sys_errlist
msvcrt.
_sys_errlist
@ extern _sys_nerr_dll
msvcrt.
_sys_nerr
@ cdecl _tell(long)
msvcrt.
_tell
@ cdecl _tempnam(str str)
msvcrt.
_tempnam
@ extern _timezone_dll
msvcrt.
_timezone
@ cdecl _tolower(long)
msvcrt.
_tolower
@ cdecl _toupper(long)
msvcrt.
_toupper
@ extern _tzname
msvcrt.
_tzname
@ cdecl _tzset()
msvcrt.
_tzset
@ cdecl _ultoa(long ptr long)
msvcrt
._ultoa
@ cdecl _umask(long)
msvcrt.
_umask
@ cdecl _ungetch(long)
msvcrt._ungetch
@ cdecl _unlink(str)
msvcrt.
_unlink
@ cdecl _unloaddll(long)
msvcrt._unloaddll
@ cdecl _utime(str ptr)
msvcrt._utime
@ cdecl _vsnprintf(ptr long str ptr)
msvcrt.
_vsnprintf
@ cdecl _vsnwprintf(ptr long wstr ptr)
msvcrt.
_vsnwprintf
@ cdecl _wcsdup(wstr)
msvcrt.
_wcsdup
@ cdecl _wcsicmp(wstr wstr)
msvcrt.
_wcsicmp
@ cdecl _wcsicoll(wstr wstr)
msvcrt.
_wcsicoll
@ cdecl _wcslwr(wstr)
msvcrt.
_wcslwr
@ cdecl _wcsnicmp(wstr wstr long)
msvcrt.
_wcsnicmp
@ cdecl _wcsnset(wstr long long)
msvcrt.
_wcsnset
@ cdecl _wcsrev(wstr)
msvcrt.
_wcsrev
@ cdecl _wcsset(wstr long)
msvcrt.
_wcsset
@ cdecl _wcsupr(wstr)
msvcrt.
_wcsupr
@ extern _winmajor_dll
msvcrt.
_winmajor
@ extern _winminor_dll
msvcrt.
_winminor
@ extern _winver_dll
msvcrt.
_winver
@ cdecl _write(long ptr long)
msvcrt.
_write
@ cdecl _wtoi(wstr)
msvcrt.
_wtoi
@ cdecl _wtol(wstr)
msvcrt.
_wtol
@ cdecl _y0(double)
msvcrt.
_y0
@ cdecl _y1(double)
msvcrt.
_y1
@ cdecl _yn(long double)
msvcrt.
_yn
@ cdecl abort()
msvcrt.
abort
@ cdecl abs(long)
msvcrt.
abs
@ cdecl acos(double)
msvcrt.
acos
@ cdecl asctime(ptr)
msvcrt.
asctime
@ cdecl asin(double)
msvcrt.
asin
@ cdecl atan(double)
msvcrt.
atan
@ cdecl atan2(double double)
msvcrt.
atan2
@ cdecl -private atexit(ptr)
msvcrt.
atexit
@ cdecl atof(str)
msvcrt.
atof
@ cdecl atoi(str)
msvcrt.
atoi
@ cdecl atol(str)
msvcrt.
atol
@ cdecl bsearch(ptr ptr long long ptr)
msvcrt.
bsearch
@ cdecl calloc(long long)
msvcrt.
calloc
@ cdecl ceil(double)
msvcrt.
ceil
@ cdecl clearerr(ptr)
msvcrt.
clearerr
@ cdecl clock()
msvcrt.
clock
@ cdecl cos(double)
msvcrt.
cos
@ cdecl cosh(double)
msvcrt.
cosh
@ cdecl ctime(ptr)
msvcrt.
ctime
@ cdecl difftime(long long)
msvcrt.
difftime
@ cdecl -ret64 div(long long)
msvcrt.
div
@ cdecl exit(long)
msvcrt.
exit
@ cdecl exp(double)
msvcrt.
exp
@ cdecl fabs(double)
msvcrt.
fabs
@ cdecl fclose(ptr)
msvcrt.
fclose
@ cdecl feof(ptr)
msvcrt.
feof
@ cdecl ferror(ptr)
msvcrt.
ferror
@ cdecl fflush(ptr)
msvcrt.
fflush
@ cdecl fgetc(ptr)
msvcrt.
fgetc
@ cdecl fgetpos(ptr ptr)
msvcrt.
fgetpos
@ cdecl fgets(ptr long ptr)
msvcrt.
fgets
@ cdecl fgetwc(ptr)
msvcrt.
fgetwc
@ cdecl floor(double)
msvcrt.
floor
@ cdecl fmod(double double)
msvcrt.
fmod
@ cdecl fopen(str str)
msvcrt.
fopen
@ varargs fprintf(ptr str)
msvcrt.
fprintf
@ cdecl fputc(long ptr)
msvcrt.
fputc
@ cdecl fputs(str ptr)
msvcrt.
fputs
@ cdecl fputwc(long ptr)
msvcrt.
fputwc
@ cdecl fread(ptr long long ptr)
msvcrt.
fread
@ cdecl free(ptr)
msvcrt.
free
@ cdecl freopen(str str ptr)
msvcrt.
freopen
@ cdecl frexp(double ptr)
msvcrt.
frexp
@ varargs fscanf(ptr str)
msvcrt.
fscanf
@ cdecl fseek(ptr long long)
msvcrt.
fseek
@ cdecl fsetpos(ptr ptr)
msvcrt.
fsetpos
@ cdecl ftell(ptr)
msvcrt.
ftell
@ varargs fwprintf(ptr wstr)
msvcrt.
fwprintf
@ cdecl fwrite(ptr long long ptr)
msvcrt.
fwrite
@ varargs fwscanf(ptr wstr)
msvcrt.
fwscanf
@ cdecl getc(ptr)
msvcrt.
getc
@ cdecl getchar()
msvcrt.
getchar
@ cdecl getenv(str)
msvcrt.
getenv
@ cdecl gets(str)
msvcrt.
gets
@ cdecl gmtime(ptr)
msvcrt.
gmtime
@ cdecl is_wctype(long long)
msvcrt.is_
wctype
@ cdecl isalnum(long)
msvcrt.
isalnum
@ cdecl isalpha(long)
msvcrt.
isalpha
@ cdecl iscntrl(long)
msvcrt.
iscntrl
@ cdecl isdigit(long)
msvcrt.
isdigit
@ cdecl isgraph(long)
msvcrt.
isgraph
@ cdecl isleadbyte(long)
msvcrt.
isleadbyte
@ cdecl islower(long)
msvcrt.
islower
@ cdecl isprint(long)
msvcrt.
isprint
@ cdecl ispunct(long)
msvcrt.
ispunct
@ cdecl isspace(long)
msvcrt.
isspace
@ cdecl isupper(long)
msvcrt.
isupper
@ cdecl iswalnum(long)
msvcrt.
iswalnum
@ cdecl iswalpha(long)
msvcrt
.iswalpha
@ cdecl iswascii(long)
msvcrt.
iswascii
@ cdecl iswcntrl(long)
msvcrt.
iswcntrl
@ cdecl iswctype(long long)
msvcrt
.iswctype
@ cdecl iswdigit(long)
msvcrt.
iswdigit
@ cdecl iswgraph(long)
msvcrt.
iswgraph
@ cdecl iswlower(long)
msvcrt.
iswlower
@ cdecl iswprint(long)
msvcrt.
iswprint
@ cdecl iswpunct(long)
msvcrt.
iswpunct
@ cdecl iswspace(long)
msvcrt.
iswspace
@ cdecl iswupper(long)
msvcrt.
iswupper
@ cdecl iswxdigit(long)
msvcrt.
iswxdigit
@ cdecl isxdigit(long)
msvcrt.
isxdigit
@ cdecl labs(long)
msvcrt.
labs
@ cdecl ldexp(double long)
msvcrt.
ldexp
@ cdecl ldiv(long long)
msvcrt.
ldiv
@ cdecl localeconv()
msvcrt.
localeconv
@ cdecl localtime(ptr)
msvcrt.
localtime
@ cdecl log(double)
msvcrt.
log
@ cdecl log10(double)
msvcrt.
log10
@ cdecl -arch=i386,x86_64,arm,arm64 longjmp(ptr long)
msvcrt.
longjmp
@ cdecl malloc(long)
msvcrt.
malloc
@ cdecl mblen(ptr long)
msvcrt.
mblen
@ cdecl mbstowcs(ptr str long)
msvcrt.
mbstowcs
@ cdecl mbtowc(ptr str long)
msvcrt.
mbtowc
@ cdecl memchr(ptr long long)
msvcrt.
memchr
@ cdecl memcmp(ptr ptr long)
msvcrt.
memcmp
@ cdecl memcpy(ptr ptr long)
msvcrt.
memcpy
@ cdecl memmove(ptr ptr long)
msvcrt.
memmove
@ cdecl memset(ptr long long)
msvcrt.
memset
@ cdecl mktime(ptr)
msvcrt.
mktime
@ cdecl modf(double ptr)
msvcrt.
modf
@ cdecl perror(str)
msvcrt.
perror
@ cdecl pow(double double)
msvcrt.
pow
@ varargs printf(str)
msvcrt.
printf
@ cdecl putc(long ptr)
msvcrt.
putc
@ cdecl putchar(long)
msvcrt.
putchar
@ cdecl puts(str)
msvcrt.
puts
@ cdecl qsort(ptr long long ptr)
msvcrt.
qsort
@ cdecl raise(long)
msvcrt.
raise
@ cdecl rand()
msvcrt.
rand
@ cdecl realloc(ptr long)
msvcrt.
realloc
@ cdecl remove(str)
msvcrt.
remove
@ cdecl rename(str str)
msvcrt.
rename
@ cdecl rewind(ptr)
msvcrt.
rewind
@ varargs scanf(str)
msvcrt.
scanf
@ cdecl setbuf(ptr ptr)
msvcrt.
setbuf
@ cdecl setlocale(long str)
msvcrt.
setlocale
@ cdecl setvbuf(ptr str long long)
msvcrt.
setvbuf
@ cdecl signal(long long)
msvcrt.
signal
@ cdecl sin(double)
msvcrt.
sin
@ cdecl sinh(double)
msvcrt.
sinh
@ varargs sprintf(ptr str)
msvcrt.
sprintf
@ cdecl sqrt(double)
msvcrt.
sqrt
@ cdecl srand(long)
msvcrt.
srand
@ varargs sscanf(str str)
msvcrt.
sscanf
@ cdecl strcat(str str)
msvcrt
.strcat
@ cdecl strchr(str long)
msvcrt.
strchr
@ cdecl strcmp(str str)
msvcrt.
strcmp
@ cdecl strcoll(str str)
msvcrt.
strcoll
@ cdecl strcpy(ptr str)
msvcrt.
strcpy
@ cdecl strcspn(str str)
msvcrt.
strcspn
@ cdecl strerror(long)
msvcrt.
strerror
@ cdecl strftime(ptr long str ptr)
msvcrt.
strftime
@ cdecl strlen(str)
msvcrt.
strlen
@ cdecl strncat(str str long)
msvcrt.
strncat
@ cdecl strncmp(str str long)
msvcrt.
strncmp
@ cdecl strncpy(ptr str long)
msvcrt.
strncpy
@ cdecl strpbrk(str str)
msvcrt.
strpbrk
@ cdecl strrchr(str long)
msvcrt.
strrchr
@ cdecl strspn(str str)
msvcrt
.strspn
@ cdecl strstr(str str)
msvcrt.
strstr
@ cdecl strtod(str ptr)
msvcrt.
strtod
@ cdecl strtok(str str)
msvcrt.
strtok
@ cdecl strtol(str ptr long)
msvcrt.
strtol
@ cdecl strtoul(str ptr long)
msvcrt.
strtoul
@ cdecl strxfrm(ptr str long)
msvcrt.
strxfrm
@ varargs swprintf(ptr wstr)
msvcrt.
swprintf
@ varargs swscanf(wstr wstr)
msvcrt.
swscanf
@ cdecl system(str)
msvcrt.
system
@ cdecl tan(double)
msvcrt.
tan
@ cdecl tanh(double)
msvcrt.
tanh
@ cdecl time(ptr)
msvcrt.
time
@ cdecl tmpfile()
msvcrt.
tmpfile
@ cdecl tmpnam(ptr)
msvcrt.
tmpnam
@ cdecl tolower(long)
msvcrt.
tolower
@ cdecl toupper(long)
msvcrt.
toupper
@ cdecl towlower(long)
msvcrt.
towlower
@ cdecl towupper(long)
msvcrt.
towupper
@ cdecl ungetc(long ptr)
msvcrt.
ungetc
@ cdecl ungetwc(long ptr)
msvcrt.
ungetwc
@ cdecl vfprintf(ptr str ptr)
msvcrt.
vfprintf
@ cdecl vfwprintf(ptr wstr ptr)
msvcrt.
vfwprintf
@ cdecl vprintf(str ptr)
msvcrt.
vprintf
@ cdecl vsprintf(ptr str ptr)
msvcrt.
vsprintf
@ cdecl vswprintf(ptr wstr ptr)
msvcrt.
vswprintf
@ cdecl vwprintf(wstr ptr)
msvcrt.
vwprintf
@ cdecl wcscat(wstr wstr)
msvcrt
.wcscat
@ cdecl wcschr(wstr long)
msvcrt.
wcschr
@ cdecl wcscmp(wstr wstr)
msvcrt.
wcscmp
@ cdecl wcscoll(wstr wstr)
msvcrt.
wcscoll
@ cdecl wcscpy(ptr wstr)
msvcrt
.wcscpy
@ cdecl wcscspn(wstr wstr)
msvcrt
.wcscspn
@ cdecl wcsftime(ptr long wstr ptr)
msvcrt.
wcsftime
@ cdecl wcslen(wstr)
msvcrt.
wcslen
@ cdecl wcsncat(wstr wstr long)
msvcrt
.wcsncat
@ cdecl wcsncmp(wstr wstr long)
msvcrt.
wcsncmp
@ cdecl wcsncpy(ptr wstr long)
msvcrt.
wcsncpy
@ cdecl wcspbrk(wstr wstr)
msvcrt.
wcspbrk
@ cdecl wcsrchr(wstr long)
msvcrt.
wcsrchr
@ cdecl wcsspn(wstr wstr)
msvcrt
.wcsspn
@ cdecl wcsstr(wstr wstr)
msvcrt.
wcsstr
@ cdecl wcstod(wstr ptr)
msvcrt.
wcstod
@ cdecl wcstok(wstr wstr)
msvcrt.
wcstok
@ cdecl wcstol(wstr ptr long)
msvcrt.
wcstol
@ cdecl wcstombs(ptr ptr long)
msvcrt.
wcstombs
@ cdecl wcstoul(wstr ptr long)
msvcrt.
wcstoul
@ cdecl wcsxfrm(ptr wstr long)
msvcrt.
wcsxfrm
@ cdecl wctomb(ptr long)
msvcrt.
wctomb
@ varargs wprintf(wstr)
msvcrt.
wprintf
@ varargs wscanf(wstr)
msvcrt.
wscanf
@ cdecl _strtime(ptr)
MSVCRT_
_strtime
@ cdecl _strupr(str)
MSVCRT_
_strupr
@ cdecl _swab(str str long)
MSVCRT_
_swab
@ extern _sys_errlist
MSVCRT_
_sys_errlist
@ extern _sys_nerr_dll
MSVCRT_
_sys_nerr
@ cdecl _tell(long)
MSVCRT_
_tell
@ cdecl _tempnam(str str)
MSVCRT_
_tempnam
@ extern _timezone_dll
MSVCRT__
_timezone
@ cdecl _tolower(long)
MSVCRT_
_tolower
@ cdecl _toupper(long)
MSVCRT_
_toupper
@ extern _tzname
MSVCRT_
_tzname
@ cdecl _tzset()
MSVCRT_
_tzset
@ cdecl _ultoa(long ptr long)
ntdll
._ultoa
@ cdecl _umask(long)
MSVCRT_
_umask
@ cdecl _ungetch(long)
@ cdecl _unlink(str)
MSVCRT_
_unlink
@ cdecl _unloaddll(long)
@ cdecl _utime(str ptr)
@ cdecl _vsnprintf(ptr long str ptr)
MSVCRT
_vsnprintf
@ cdecl _vsnwprintf(ptr long wstr ptr)
MSVCRT
_vsnwprintf
@ cdecl _wcsdup(wstr)
MSVCRT_
_wcsdup
@ cdecl _wcsicmp(wstr wstr)
MSVCRT_
_wcsicmp
@ cdecl _wcsicoll(wstr wstr)
MSVCRT_
_wcsicoll
@ cdecl _wcslwr(wstr)
MSVCRT_
_wcslwr
@ cdecl _wcsnicmp(wstr wstr long)
MSVCRT_
_wcsnicmp
@ cdecl _wcsnset(wstr long long)
MSVCRT_
_wcsnset
@ cdecl _wcsrev(wstr)
MSVCRT_
_wcsrev
@ cdecl _wcsset(wstr long)
MSVCRT_
_wcsset
@ cdecl _wcsupr(wstr)
MSVCRT_
_wcsupr
@ extern _winmajor_dll
MSVCRT_
_winmajor
@ extern _winminor_dll
MSVCRT_
_winminor
@ extern _winver_dll
MSVCRT_
_winver
@ cdecl _write(long ptr long)
MSVCRT_
_write
@ cdecl _wtoi(wstr)
MSVCRT_
_wtoi
@ cdecl _wtol(wstr)
MSVCRT_
_wtol
@ cdecl _y0(double)
MSVCRT_
_y0
@ cdecl _y1(double)
MSVCRT_
_y1
@ cdecl _yn(long double)
MSVCRT_
_yn
@ cdecl abort()
MSVCRT_
abort
@ cdecl abs(long)
MSVCRT_
abs
@ cdecl acos(double)
MSVCRT_
acos
@ cdecl asctime(ptr)
MSVCRT_
asctime
@ cdecl asin(double)
MSVCRT_
asin
@ cdecl atan(double)
MSVCRT_
atan
@ cdecl atan2(double double)
MSVCRT_
atan2
@ cdecl -private atexit(ptr)
MSVCRT_
atexit
@ cdecl atof(str)
MSVCRT_
atof
@ cdecl atoi(str)
MSVCRT_
atoi
@ cdecl atol(str)
MSVCRT_
atol
@ cdecl bsearch(ptr ptr long long ptr)
MSVCRT_
bsearch
@ cdecl calloc(long long)
MSVCRT_
calloc
@ cdecl ceil(double)
MSVCRT_
ceil
@ cdecl clearerr(ptr)
MSVCRT_
clearerr
@ cdecl clock()
MSVCRT_
clock
@ cdecl cos(double)
MSVCRT_
cos
@ cdecl cosh(double)
MSVCRT_
cosh
@ cdecl ctime(ptr)
MSVCRT_
ctime
@ cdecl difftime(long long)
MSVCRT_
difftime
@ cdecl -ret64 div(long long)
MSVCRT_
div
@ cdecl exit(long)
MSVCRT_
exit
@ cdecl exp(double)
MSVCRT_
exp
@ cdecl fabs(double)
MSVCRT_
fabs
@ cdecl fclose(ptr)
MSVCRT_
fclose
@ cdecl feof(ptr)
MSVCRT_
feof
@ cdecl ferror(ptr)
MSVCRT_
ferror
@ cdecl fflush(ptr)
MSVCRT_
fflush
@ cdecl fgetc(ptr)
MSVCRT_
fgetc
@ cdecl fgetpos(ptr ptr)
MSVCRT_
fgetpos
@ cdecl fgets(ptr long ptr)
MSVCRT_
fgets
@ cdecl fgetwc(ptr)
MSVCRT_
fgetwc
@ cdecl floor(double)
MSVCRT_
floor
@ cdecl fmod(double double)
MSVCRT_
fmod
@ cdecl fopen(str str)
MSVCRT_
fopen
@ varargs fprintf(ptr str)
MSVCRT_
fprintf
@ cdecl fputc(long ptr)
MSVCRT_
fputc
@ cdecl fputs(str ptr)
MSVCRT_
fputs
@ cdecl fputwc(long ptr)
MSVCRT_
fputwc
@ cdecl fread(ptr long long ptr)
MSVCRT_
fread
@ cdecl free(ptr)
MSVCRT_
free
@ cdecl freopen(str str ptr)
MSVCRT_
freopen
@ cdecl frexp(double ptr)
MSVCRT_
frexp
@ varargs fscanf(ptr str)
MSVCRT_
fscanf
@ cdecl fseek(ptr long long)
MSVCRT_
fseek
@ cdecl fsetpos(ptr ptr)
MSVCRT_
fsetpos
@ cdecl ftell(ptr)
MSVCRT_
ftell
@ varargs fwprintf(ptr wstr)
MSVCRT_
fwprintf
@ cdecl fwrite(ptr long long ptr)
MSVCRT_
fwrite
@ varargs fwscanf(ptr wstr)
MSVCRT_
fwscanf
@ cdecl getc(ptr)
MSVCRT_
getc
@ cdecl getchar()
MSVCRT_
getchar
@ cdecl getenv(str)
MSVCRT_
getenv
@ cdecl gets(str)
MSVCRT_
gets
@ cdecl gmtime(ptr)
MSVCRT_
gmtime
@ cdecl is_wctype(long long)
ntdll.is
wctype
@ cdecl isalnum(long)
MSVCRT_
isalnum
@ cdecl isalpha(long)
MSVCRT_
isalpha
@ cdecl iscntrl(long)
MSVCRT_
iscntrl
@ cdecl isdigit(long)
MSVCRT_
isdigit
@ cdecl isgraph(long)
MSVCRT_
isgraph
@ cdecl isleadbyte(long)
MSVCRT_
isleadbyte
@ cdecl islower(long)
MSVCRT_
islower
@ cdecl isprint(long)
MSVCRT_
isprint
@ cdecl ispunct(long)
MSVCRT_
ispunct
@ cdecl isspace(long)
MSVCRT_
isspace
@ cdecl isupper(long)
MSVCRT_
isupper
@ cdecl iswalnum(long)
MSVCRT_
iswalnum
@ cdecl iswalpha(long)
ntdll
.iswalpha
@ cdecl iswascii(long)
MSVCRT_
iswascii
@ cdecl iswcntrl(long)
MSVCRT_
iswcntrl
@ cdecl iswctype(long long)
ntdll
.iswctype
@ cdecl iswdigit(long)
MSVCRT_
iswdigit
@ cdecl iswgraph(long)
MSVCRT_
iswgraph
@ cdecl iswlower(long)
MSVCRT_
iswlower
@ cdecl iswprint(long)
MSVCRT_
iswprint
@ cdecl iswpunct(long)
MSVCRT_
iswpunct
@ cdecl iswspace(long)
MSVCRT_
iswspace
@ cdecl iswupper(long)
MSVCRT_
iswupper
@ cdecl iswxdigit(long)
MSVCRT_
iswxdigit
@ cdecl isxdigit(long)
MSVCRT_
isxdigit
@ cdecl labs(long)
MSVCRT_
labs
@ cdecl ldexp(double long)
MSVCRT_
ldexp
@ cdecl ldiv(long long)
MSVCRT_
ldiv
@ cdecl localeconv()
MSVCRT_
localeconv
@ cdecl localtime(ptr)
MSVCRT_
localtime
@ cdecl log(double)
MSVCRT_
log
@ cdecl log10(double)
MSVCRT_
log10
@ cdecl -arch=i386,x86_64,arm,arm64 longjmp(ptr long)
MSVCRT_
longjmp
@ cdecl malloc(long)
MSVCRT_
malloc
@ cdecl mblen(ptr long)
MSVCRT_
mblen
@ cdecl mbstowcs(ptr str long)
MSVCRT_
mbstowcs
@ cdecl mbtowc(ptr str long)
MSVCRT_
mbtowc
@ cdecl memchr(ptr long long)
MSVCRT_
memchr
@ cdecl memcmp(ptr ptr long)
MSVCRT_
memcmp
@ cdecl memcpy(ptr ptr long)
MSVCRT_
memcpy
@ cdecl memmove(ptr ptr long)
MSVCRT_
memmove
@ cdecl memset(ptr long long)
MSVCRT_
memset
@ cdecl mktime(ptr)
MSVCRT_
mktime
@ cdecl modf(double ptr)
MSVCRT_
modf
@ cdecl perror(str)
MSVCRT_
perror
@ cdecl pow(double double)
MSVCRT_
pow
@ varargs printf(str)
MSVCRT_
printf
@ cdecl putc(long ptr)
MSVCRT_
putc
@ cdecl putchar(long)
MSVCRT_
putchar
@ cdecl puts(str)
MSVCRT_
puts
@ cdecl qsort(ptr long long ptr)
MSVCRT_
qsort
@ cdecl raise(long)
MSVCRT_
raise
@ cdecl rand()
MSVCRT_
rand
@ cdecl realloc(ptr long)
MSVCRT_
realloc
@ cdecl remove(str)
MSVCRT_
remove
@ cdecl rename(str str)
MSVCRT_
rename
@ cdecl rewind(ptr)
MSVCRT_
rewind
@ varargs scanf(str)
MSVCRT_
scanf
@ cdecl setbuf(ptr ptr)
MSVCRT_
setbuf
@ cdecl setlocale(long str)
MSVCRT_
setlocale
@ cdecl setvbuf(ptr str long long)
MSVCRT_
setvbuf
@ cdecl signal(long long)
MSVCRT_
signal
@ cdecl sin(double)
MSVCRT_
sin
@ cdecl sinh(double)
MSVCRT_
sinh
@ varargs sprintf(ptr str)
MSVCRT_
sprintf
@ cdecl sqrt(double)
MSVCRT_
sqrt
@ cdecl srand(long)
MSVCRT_
srand
@ varargs sscanf(str str)
MSVCRT_
sscanf
@ cdecl strcat(str str)
ntdll
.strcat
@ cdecl strchr(str long)
MSVCRT_
strchr
@ cdecl strcmp(str str)
MSVCRT_
strcmp
@ cdecl strcoll(str str)
MSVCRT_
strcoll
@ cdecl strcpy(ptr str)
MSVCRT_
strcpy
@ cdecl strcspn(str str)
MSVCRT_
strcspn
@ cdecl strerror(long)
MSVCRT_
strerror
@ cdecl strftime(ptr long str ptr)
MSVCRT_
strftime
@ cdecl strlen(str)
MSVCRT_
strlen
@ cdecl strncat(str str long)
MSVCRT_
strncat
@ cdecl strncmp(str str long)
MSVCRT_
strncmp
@ cdecl strncpy(ptr str long)
MSVCRT_
strncpy
@ cdecl strpbrk(str str)
MSVCRT_
strpbrk
@ cdecl strrchr(str long)
MSVCRT_
strrchr
@ cdecl strspn(str str)
ntdll
.strspn
@ cdecl strstr(str str)
MSVCRT_
strstr
@ cdecl strtod(str ptr)
MSVCRT_
strtod
@ cdecl strtok(str str)
MSVCRT_
strtok
@ cdecl strtol(str ptr long)
MSVCRT_
strtol
@ cdecl strtoul(str ptr long)
MSVCRT_
strtoul
@ cdecl strxfrm(ptr str long)
MSVCRT_
strxfrm
@ varargs swprintf(ptr wstr)
MSVCRT_
swprintf
@ varargs swscanf(wstr wstr)
MSVCRT_
swscanf
@ cdecl system(str)
MSVCRT_
system
@ cdecl tan(double)
MSVCRT_
tan
@ cdecl tanh(double)
MSVCRT_
tanh
@ cdecl time(ptr)
MSVCRT_
time
@ cdecl tmpfile()
MSVCRT_
tmpfile
@ cdecl tmpnam(ptr)
MSVCRT_
tmpnam
@ cdecl tolower(long)
MSVCRT_
tolower
@ cdecl toupper(long)
MSVCRT_
toupper
@ cdecl towlower(long)
MSVCRT_
towlower
@ cdecl towupper(long)
MSVCRT_
towupper
@ cdecl ungetc(long ptr)
MSVCRT_
ungetc
@ cdecl ungetwc(long ptr)
MSVCRT_
ungetwc
@ cdecl vfprintf(ptr str ptr)
MSVCRT_
vfprintf
@ cdecl vfwprintf(ptr wstr ptr)
MSVCRT_
vfwprintf
@ cdecl vprintf(str ptr)
MSVCRT_
vprintf
@ cdecl vsprintf(ptr str ptr)
MSVCRT_
vsprintf
@ cdecl vswprintf(ptr wstr ptr)
MSVCRT_
vswprintf
@ cdecl vwprintf(wstr ptr)
MSVCRT_
vwprintf
@ cdecl wcscat(wstr wstr)
ntdll
.wcscat
@ cdecl wcschr(wstr long)
MSVCRT_
wcschr
@ cdecl wcscmp(wstr wstr)
MSVCRT_
wcscmp
@ cdecl wcscoll(wstr wstr)
MSVCRT_
wcscoll
@ cdecl wcscpy(ptr wstr)
ntdll
.wcscpy
@ cdecl wcscspn(wstr wstr)
ntdll
.wcscspn
@ cdecl wcsftime(ptr long wstr ptr)
MSVCRT_
wcsftime
@ cdecl wcslen(wstr)
MSVCRT_
wcslen
@ cdecl wcsncat(wstr wstr long)
ntdll
.wcsncat
@ cdecl wcsncmp(wstr wstr long)
MSVCRT_
wcsncmp
@ cdecl wcsncpy(ptr wstr long)
MSVCRT_
wcsncpy
@ cdecl wcspbrk(wstr wstr)
MSVCRT_
wcspbrk
@ cdecl wcsrchr(wstr long)
MSVCRT_
wcsrchr
@ cdecl wcsspn(wstr wstr)
ntdll
.wcsspn
@ cdecl wcsstr(wstr wstr)
MSVCRT_
wcsstr
@ cdecl wcstod(wstr ptr)
MSVCRT_
wcstod
@ cdecl wcstok(wstr wstr)
MSVCRT_
wcstok
@ cdecl wcstol(wstr ptr long)
MSVCRT_
wcstol
@ cdecl wcstombs(ptr ptr long)
MSVCRT_
wcstombs
@ cdecl wcstoul(wstr ptr long)
MSVCRT_
wcstoul
@ cdecl wcsxfrm(ptr wstr long)
MSVCRT_
wcsxfrm
@ cdecl wctomb(ptr long)
MSVCRT_
wctomb
@ varargs wprintf(wstr)
MSVCRT_
wprintf
@ varargs wscanf(wstr)
MSVCRT_
wscanf
dlls/crtdll/crtdll_main.c
deleted
100644 → 0
View file @
610d48ba
/*
* Old C RunTime DLL - All functionality is provided by msvcrt.
*
* Copyright 2000 Jon Griffiths
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdarg.h>
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
crtdll
);
/* from msvcrt */
extern
void
CDECL
__getmainargs
(
int
*
argc
,
char
***
argv
,
char
***
envp
,
int
expand_wildcards
,
int
*
new_mode
);
/* The following data items are not exported from msvcrt */
unsigned
int
CRTDLL__basemajor_dll
=
0
;
unsigned
int
CRTDLL__baseminor_dll
=
0
;
unsigned
int
CRTDLL__baseversion_dll
=
0
;
unsigned
int
CRTDLL__cpumode_dll
=
0
;
unsigned
int
CRTDLL__osmajor_dll
=
0
;
unsigned
int
CRTDLL__osminor_dll
=
0
;
unsigned
int
CRTDLL__osmode_dll
=
0
;
unsigned
int
CRTDLL__osversion_dll
=
0
;
/* dev_t is a short in crtdll but an unsigned int in msvcrt */
typedef
short
crtdll_dev_t
;
struct
crtdll_stat
{
crtdll_dev_t
st_dev
;
_ino_t
st_ino
;
unsigned
short
st_mode
;
short
st_nlink
;
short
st_uid
;
short
st_gid
;
crtdll_dev_t
st_rdev
;
_off_t
st_size
;
time_t
st_atime
;
time_t
st_mtime
;
time_t
st_ctime
;
};
/* convert struct _stat from crtdll format to msvcrt format */
static
void
convert_struct_stat
(
struct
crtdll_stat
*
dst
,
const
struct
_stat
*
src
)
{
dst
->
st_dev
=
src
->
st_dev
;
dst
->
st_ino
=
src
->
st_ino
;
dst
->
st_mode
=
src
->
st_mode
;
dst
->
st_nlink
=
src
->
st_nlink
;
dst
->
st_uid
=
src
->
st_uid
;
dst
->
st_gid
=
src
->
st_gid
;
dst
->
st_rdev
=
src
->
st_rdev
;
dst
->
st_size
=
src
->
st_size
;
dst
->
st_atime
=
src
->
st_atime
;
dst
->
st_mtime
=
src
->
st_mtime
;
dst
->
st_ctime
=
src
->
st_ctime
;
}
/*********************************************************************
* DllMain (CRTDLL.init)
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"(%p,%d,%p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
if
(
fdwReason
==
DLL_PROCESS_ATTACH
)
{
DWORD
version
=
GetVersion
();
DisableThreadLibraryCalls
(
hinstDLL
);
CRTDLL__basemajor_dll
=
(
version
>>
24
)
&
0xFF
;
CRTDLL__baseminor_dll
=
(
version
>>
16
)
&
0xFF
;
CRTDLL__baseversion_dll
=
(
version
>>
16
);
CRTDLL__cpumode_dll
=
1
;
/* FIXME */
CRTDLL__osmajor_dll
=
(
version
>>
8
)
&
0xFF
;
CRTDLL__osminor_dll
=
(
version
&
0xFF
);
CRTDLL__osmode_dll
=
1
;
/* FIXME */
CRTDLL__osversion_dll
=
(
version
&
0xFFFF
);
}
return
TRUE
;
}
/*********************************************************************
* __GetMainArgs (CRTDLL.@)
*/
void
CDECL
__GetMainArgs
(
int
*
argc
,
char
***
argv
,
char
***
envp
,
int
expand_wildcards
)
{
int
new_mode
=
0
;
__getmainargs
(
argc
,
argv
,
envp
,
expand_wildcards
,
&
new_mode
);
}
/*********************************************************************
* _fstat (CRTDLL.@)
*/
int
CDECL
CRTDLL__fstat
(
int
fd
,
struct
crtdll_stat
*
buf
)
{
struct
_stat
st
;
int
ret
;
if
(
!
(
ret
=
_fstat
(
fd
,
&
st
)))
convert_struct_stat
(
buf
,
&
st
);
return
ret
;
}
/*********************************************************************
* _stat (CRTDLL.@)
*/
int
CDECL
CRTDLL__stat
(
const
char
*
path
,
struct
crtdll_stat
*
buf
)
{
struct
_stat
st
;
int
ret
;
if
(
!
(
ret
=
_stat
(
path
,
&
st
)))
convert_struct_stat
(
buf
,
&
st
);
return
ret
;
}
/*********************************************************************
* _strdec (CRTDLL.@)
*/
char
*
CDECL
_strdec
(
const
char
*
str1
,
const
char
*
str2
)
{
return
(
char
*
)(
str2
-
1
);
}
/*********************************************************************
* _strinc (CRTDLL.@)
*/
char
*
CDECL
_strinc
(
const
char
*
str
)
{
return
(
char
*
)(
str
+
1
);
}
/*********************************************************************
* _strncnt (CRTDLL.@)
*/
size_t
CDECL
_strncnt
(
const
char
*
str
,
size_t
maxlen
)
{
size_t
len
=
strlen
(
str
);
return
(
len
>
maxlen
)
?
maxlen
:
len
;
}
/*********************************************************************
* _strnextc (CRTDLL.@)
*/
unsigned
int
CDECL
_strnextc
(
const
char
*
str
)
{
return
(
unsigned
char
)
str
[
0
];
}
/*********************************************************************
* _strninc (CRTDLL.@)
*/
char
*
CDECL
_strninc
(
const
char
*
str
,
size_t
len
)
{
return
(
char
*
)(
str
+
len
);
}
/*********************************************************************
* _strspnp (CRTDLL.@)
*/
char
*
CDECL
_strspnp
(
const
char
*
str1
,
const
char
*
str2
)
{
str1
+=
strspn
(
str1
,
str2
);
return
*
str1
?
(
char
*
)
str1
:
NULL
;
}
dlls/msvcrt/data.c
View file @
1f7489d4
...
...
@@ -39,6 +39,13 @@ unsigned int MSVCRT__osplatform = 0;
unsigned
int
MSVCRT__winmajor
=
0
;
unsigned
int
MSVCRT__winminor
=
0
;
unsigned
int
MSVCRT__winver
=
0
;
#ifdef _CRTDLL
unsigned
int
CRTDLL__basemajor_dll
=
0
;
unsigned
int
CRTDLL__baseminor_dll
=
0
;
unsigned
int
CRTDLL__baseversion_dll
=
0
;
unsigned
int
CRTDLL__cpumode_dll
=
1
;
unsigned
int
CRTDLL__osmode_dll
=
1
;
#endif
unsigned
int
MSVCRT___setlc_active
=
0
;
unsigned
int
MSVCRT___unguarded_readlc_active
=
0
;
double
MSVCRT__HUGE
=
0
;
...
...
@@ -337,6 +344,11 @@ void msvcrt_init_args(void)
MSVCRT__osplatform
=
osvi
.
dwPlatformId
;
TRACE
(
"winver %08x winmajor %08x winminor %08x osver %08x
\n
"
,
MSVCRT__winver
,
MSVCRT__winmajor
,
MSVCRT__winminor
,
MSVCRT__osver
);
#ifdef _CRTDLL
CRTDLL__baseversion_dll
=
(
GetVersion
()
>>
16
);
CRTDLL__basemajor_dll
=
CRTDLL__baseversion_dll
>>
8
;
CRTDLL__baseminor_dll
=
CRTDLL__baseversion_dll
&
0xff
;
#endif
MSVCRT__HUGE
=
HUGE_VAL
;
MSVCRT___setlc_active
=
0
;
...
...
@@ -478,6 +490,17 @@ int CDECL __getmainargs(int *argc, char** *argv, char** *envp,
return
0
;
}
#ifdef _CRTDLL
/*********************************************************************
* __GetMainArgs (CRTDLL.@)
*/
void
CDECL
__GetMainArgs
(
int
*
argc
,
char
***
argv
,
char
***
envp
,
int
expand_wildcards
)
{
int
new_mode
=
0
;
__getmainargs
(
argc
,
argv
,
envp
,
expand_wildcards
,
&
new_mode
);
}
#endif
static
int
build_expanded_wargv
(
int
*
argc
,
MSVCRT_wchar_t
**
argv
)
{
int
i
,
size
=
0
,
args_no
=
0
,
path_len
;
...
...
dlls/msvcrt/msvcrt.h
View file @
1f7489d4
...
...
@@ -79,7 +79,11 @@ typedef unsigned long MSVCRT_size_t;
typedef
long
MSVCRT_intptr_t
;
typedef
unsigned
long
MSVCRT_uintptr_t
;
#endif
#ifdef _CRTDLL
typedef
short
MSVCRT__dev_t
;
#else
typedef
unsigned
int
MSVCRT__dev_t
;
#endif
typedef
int
MSVCRT__off_t
;
typedef
int
MSVCRT_clock_t
;
typedef
int
MSVCRT___time32_t
;
...
...
dlls/msvcrt/string.c
View file @
1f7489d4
...
...
@@ -2076,3 +2076,47 @@ MSVCRT_size_t __cdecl MSVCRT___strncnt(const char *str, MSVCRT_size_t size)
return
ret
;
}
#ifdef _CRTDLL
/*********************************************************************
* _strdec (CRTDLL.@)
*/
char
*
CDECL
_strdec
(
const
char
*
str1
,
const
char
*
str2
)
{
return
(
char
*
)(
str2
-
1
);
}
/*********************************************************************
* _strinc (CRTDLL.@)
*/
char
*
CDECL
_strinc
(
const
char
*
str
)
{
return
(
char
*
)(
str
+
1
);
}
/*********************************************************************
* _strnextc (CRTDLL.@)
*/
unsigned
int
CDECL
_strnextc
(
const
char
*
str
)
{
return
(
unsigned
char
)
str
[
0
];
}
/*********************************************************************
* _strninc (CRTDLL.@)
*/
char
*
CDECL
_strninc
(
const
char
*
str
,
size_t
len
)
{
return
(
char
*
)(
str
+
len
);
}
/*********************************************************************
* _strspnp (CRTDLL.@)
*/
char
*
CDECL
_strspnp
(
const
char
*
str1
,
const
char
*
str2
)
{
str1
+=
strspn
(
str1
,
str2
);
return
*
str1
?
(
char
*
)
str1
:
NULL
;
}
#endif
tools/make_specfiles
View file @
1f7489d4
...
...
@@ -31,7 +31,6 @@ my @dll_groups =
"msvcirt"
,
"msvcrt40"
,
"msvcrt20"
,
"crtdll"
,
],
[
"msvcrt"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment