bin/named/win32/ntservice.c
/*
 * Do the work that mainCRTStartup() would normally do
 */
Do the work that mainCRTStartup() would normally do
Do the work that mainCRTStartup () would normally do
void GetArgs(int *argc, char ***argv, char ***envp)
{
	_startupinfo startinfo;
	__set_app_type(1);
	__onexitbegin = __onexitend = (_PVFV *)(-1);
	startinfo.newmode = _newmode;
	__getmainargs(argc, argv, envp, _dowildcard, &startinfo);
	__initenv = *envp;
#ifdef _M_IX86
	_adjust_fdiv = * _imp___adjust_fdiv;
	_setdefaultprecision();
#endif
}
void GetArgs ( int * argc , char * * * argv , char * * * envp ) { _startupinfo startinfo ; __set_app_type ( 1 ) ; __onexitbegin = __onexitend = ( _PVFV * ) ( -1 ) ; startinfo . newmode = _newmode ; __getmainargs ( argc , argv , envp , _dowildcard , & startinfo ) ; __initenv = * envp ; #ifdef _M_IX86 _adjust_fdiv = * _imp___adjust_fdiv ; _setdefaultprecision ( ) ; #endif }
Do the work that mainCRTStartup() would normally do
Do the work that mainCRTStartup () would normally do
/*
	 * Set the app type to Console (check CRT/SRC/INTERNAL.H:
	 * \#define _CONSOLE_APP 1)
	 */ /* Mark this module as an EXE file */