libcmain.c
来自「cygwin, 著名的在win32下模拟unix操作系统的东东」· C语言 代码 · 共 36 行
C
36 行
/* libcmain.c Copyright 1996, 1997, 1998, 2000, 2001 Red Hat, Inc.This file is part of Cygwin.This software is a copyrighted work licensed under the terms of theCygwin license. Please consult the file "CYGWIN_LICENSE" fordetails. */#include <windows.h>/* Allow apps which don't have a main work, as long as they define WinMain */intmain (){ HMODULE x = GetModuleHandleA(0); char *s = GetCommandLineA (); STARTUPINFO si; /* GetCommandLineA returns the entire command line including the program name, but WinMain is defined to accept the command line without the program name. */ while (*s != ' ' && *s != '\0') ++s; while (*s == ' ') ++s; GetStartupInfo (&si); return WinMain (x, 0, s, ((si.dwFlags & STARTF_USESHOWWINDOW) != 0 ? si.wShowWindow : SW_SHOWNORMAL));}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?