MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / wmain

Function wmain

libcpu/sim/win32/startup_msvc.c:226–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224/* system entry */
225extern int rtthread_startup(void);
226int wmain(int argc, char* argv[])
227{
228 /* disable interrupt first */
229 rt_hw_interrupt_disable();
230 /* startup RT-Thread RTOS */
231 rtthread_startup();
232}
233#pragma comment(linker, "/subsystem:console /entry:wmainCRTStartup")
234
235#ifndef RT_USING_HEAP

Callers

nothing calls this directly

Calls 2

rt_hw_interrupt_disableFunction · 0.70
rtthread_startupFunction · 0.70

Tested by

no test coverage detected