ReactOS  0.4.15-dev-439-g292f67a
pause.c File Reference
#include "precomp.h"
Include dependency graph for pause.c:

Go to the source code of this file.

Functions

INT cmd_pause (LPTSTR param)
 

Function Documentation

◆ cmd_pause()

INT cmd_pause ( LPTSTR  param)

Definition at line 37 of file pause.c.

38 {
39  TRACE("cmd_pause: \'%s\')\n", debugstr_aw(param));
40 
41  if (!_tcsncmp(param, _T("/?"), 2))
42  {
44  return 0;
45  }
46 
47  if (*param)
49  else
50  msg_pause();
51 
52  cgetchar();
53 
54  ConOutChar(_T('\n'));
55  return 0;
56 }
#define TRUE
Definition: types.h:120
VOID ConOutChar(TCHAR c)
Definition: console.c:123
#define debugstr_aw
Definition: precomp.h:43
VOID ConOutResPaging(BOOL StartPaging, UINT resID)
Definition: console.c:182
#define STRING_PAUSE_HELP1
Definition: resource.h:153
#define _T(x)
Definition: vfdio.h:22
#define TRACE(s)
Definition: solgame.cpp:4
GLfloat param
Definition: glext.h:5796
VOID msg_pause(VOID)
Definition: error.c:169
TCHAR cgetchar(VOID)
Definition: misc.c:41
int _tcsncmp(const _TCHAR *s1, const _TCHAR *s2, size_t n)
Definition: tcsncmp.h:9
VOID ConOutPuts(LPTSTR szText)
Definition: tee.c:27