ReactOS  0.4.15-dev-321-g2d9b385
cls.c
Go to the documentation of this file.
1 /*
2  * CLS.C - clear screen internal command.
3  *
4  *
5  * History:
6  *
7  * 07/27/1998 (John P. Price)
8  * started.
9  *
10  * 27-Jul-1998 (John P Price <linux-guru@gcfl.net>)
11  * added config.h include
12  *
13  * 04-Dec-1998 (Eric Kohl)
14  * Changed to Win32 console app.
15  *
16  * 08-Dec-1998 (Eric Kohl)
17  * Added help text ("/?").
18  *
19  * 14-Jan-1998 (Eric Kohl)
20  * Unicode ready!
21  *
22  * 20-Jan-1998 (Eric Kohl)
23  * Redirection ready!
24  *
25  * 02-Apr-2005 (Magnus Olsen <magnus@greatlord.com>)
26  * Remove all hardcoded strings in En.rc
27  */
28 
29 #include "precomp.h"
30 
31 #ifdef INCLUDE_CMD_CLS
32 
34 {
35  if (!_tcsncmp(param, _T("/?"), 2))
36  {
38  return 0;
39  }
40 
42  return 0;
43 }
44 
45 #endif
#define STRING_CLS_HELP
Definition: resource.h:74
#define TRUE
Definition: types.h:120
VOID ConOutResPaging(BOOL StartPaging, UINT resID)
Definition: console.c:182
int32_t INT
Definition: typedefs.h:57
CHAR * LPTSTR
Definition: xmlstorage.h:192
CON_SCREEN StdOutScreen
Definition: attrib.c:47
#define _T(x)
Definition: vfdio.h:22
GLfloat param
Definition: glext.h:5796
INT cmd_cls(LPTSTR param)
Definition: cls.c:33
VOID ConClearScreen(IN PCON_SCREEN Screen)
Definition: screen.c:131
int _tcsncmp(const _TCHAR *s1, const _TCHAR *s2, size_t n)
Definition: tcsncmp.h:9