ReactOS
0.4.16-dev-981-g80eb313
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
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
33
INT
cmd_cls
(
LPTSTR
param
)
34
{
35
if
(!
_tcsncmp
(
param
,
_T
(
"/?"
), 2))
36
{
37
ConOutResPaging
(
TRUE
,
STRING_CLS_HELP
);
38
return
0;
39
}
40
41
ConClearScreen
(&
StdOutScreen
);
42
return
0;
43
}
44
45
#endif
StdOutScreen
CON_SCREEN StdOutScreen
Definition:
attrib.c:30
ConOutResPaging
VOID ConOutResPaging(BOOL StartPaging, UINT resID)
Definition:
console.c:178
STRING_CLS_HELP
#define STRING_CLS_HELP
Definition:
resource.h:74
cmd_cls
INT cmd_cls(LPTSTR param)
Definition:
cls.c:33
TRUE
#define TRUE
Definition:
types.h:120
param
GLfloat param
Definition:
glext.h:5796
_tcsncmp
#define _tcsncmp
Definition:
tchar.h:1428
ConClearScreen
VOID ConClearScreen(IN PCON_SCREEN Screen)
Definition:
screen.c:131
INT
int32_t INT
Definition:
typedefs.h:58
_T
#define _T(x)
Definition:
vfdio.h:22
precomp.h
LPTSTR
CHAR * LPTSTR
Definition:
xmlstorage.h:192
base
shell
cmd
cls.c
Generated on Wed Apr 16 2025 06:02:35 for ReactOS by
1.9.6