int main(int argc, char *argv[]) { pre_initialize(); process_args(argc, argv); initialize(); mainloop(); return 0; }
int main(int argc, char *argv[]) { int rval; pre_initialize(); process_args(argc, argv); initialize(); rval = send_files(); return rval ? 0 : 1; }
static int __cdecl common_initialize_environment_nolock() throw() { typedef __crt_char_traits<Character> traits; // We only initialize the environment once. Once the environment has been // initialized, all updates and modifications go through the other functions // that manipulate the environment. if (get_environment_nolock(Character())) return 0; pre_initialize(Character()); __crt_unique_heap_ptr<Character> const os_environment(traits::get_environment_from_os()); if (!os_environment) return -1; __crt_unique_heap_ptr<Character*> crt_environment(create_environment(os_environment.get())); if (!crt_environment) return -1; get_initial_environment(Character()) = crt_environment.get(); get_dual_state_environment_nolock(Character()).initialize(crt_environment.detach()); return 0; }