main.c
来自「winNT技术操作系统,国外开放的原代码和LIUX一样」· C语言 代码 · 共 139 行
C
139 行
/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS net command
* FILE:
* PURPOSE:
*
* PROGRAMMERS: Magnus Olsen (greatlord@reactos.org)
*/
#include "net.h"
int main(int argc, char **argv)
{
if (argc<2)
{
help();
return 1;
}
if (stricmp(argv[1],"ACCOUNTS")==0)
{
return unimplement();
}
if (stricmp(argv[1],"COMPUTER")==0)
{
return unimplement();
}
if (stricmp(argv[1],"CONFIG")==0)
{
return unimplement();
}
if (stricmp(argv[1],"CONTINUE")==0)
{
return unimplement();
}
if (stricmp(argv[1],"FILE")==0)
{
return unimplement();
}
if (stricmp(argv[1],"GROUP")==0)
{
return unimplement();
}
if (stricmp(argv[1],"HELP")==0)
{
return cmdHelp(argc,&argv[1]);
}
if (stricmp(argv[1],"HELPMSG")==0)
{
return unimplement();
}
if (stricmp(argv[1],"LOCALGROUP")==0)
{
return unimplement();
}
if (stricmp(argv[1],"NAME")==0)
{
return unimplement();
}
if (stricmp(argv[1],"PRINT")==0)
{
return unimplement();
}
if (stricmp(argv[1],"SEND")==0)
{
return unimplement();
}
if (stricmp(argv[1],"SESSION")==0)
{
return unimplement();
}
if (stricmp(argv[1],"SHARE")==0)
{
return unimplement();
}
if (stricmp(argv[1],"START")==0)
{
return cmdStart(argc, &argv[1]);
}
if (stricmp(argv[1],"STATISTICS")==0)
{
return unimplement();
}
if (stricmp(argv[1],"STOP")==0)
{
return cmdStop(argc, &argv[1]);
}
if (stricmp(argv[1],"TIME")==0)
{
return unimplement();
}
if (stricmp(argv[1],"USE")==0)
{
return unimplement();
}
if (stricmp(argv[1],"USER")==0)
{
return unimplement();
}
if (stricmp(argv[1],"VIEW")==0)
{
return unimplement();
}
help();
return 1;
}
int unimplement()
{
printf("This command is not implement yet\n");
return 1;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?