222{
234
236 {
238 return 0;
239 }
240
242 {
244 return 1;
245 }
246
247
249
250
252 {
254 {
256 {
258 {
261 continue;
262
265 continue;
266 }
267 }
268
269
272 goto Quit;
273 }
274
275
276 ++nFileSpecs;
277 }
278
280
282
283
284 if (bPaging)
286
287
289 {
290
292 continue;
293
294
296 {
299
301
303 {
304
305 do
306 {
307
308 if (!
_tcscmp(FindData.cFileName,
_T(
".")) ||
309 !
_tcscmp(FindData.cFileName,
_T(
"..")) ||
311 {
312 continue;
313 }
314
316 if (!
DoTypeFile(FindData.cFileName, hConsoleOut, bNoFileName, bPaging))
317 {
319 goto Quit;
320 }
321
323
325 }
326
327
328
329
330
333 else if (!bFileFound)
335
337 {
338
343 dwLastError,
346 0,
351 }
352 }
353 else
354 {
355 if (!
DoTypeFile(
argv[
i], hConsoleOut, (bNoFileName || (nFileSpecs <= 1)), bPaging))
356 goto Quit;
357 }
358
359
360 }
361
362Quit:
365}
HANDLE WINAPI GetStdHandle(IN DWORD nStdHandle)
VOID error_req_param_missing(VOID)
VOID ConOutResPaging(BOOL StartPaging, UINT resID)
BOOL __cdecl ConOutPrintfPaging(BOOL StartPaging, LPWSTR szFormat,...)
#define ConErrPrintf(szStr,...)
#define ConErrResPrintf(uID,...)
#define STRING_TYPE_HELP1
#define STRING_TYPE_ERROR
static BOOL DoTypeFile(IN LPTSTR FileName, IN HANDLE hConsoleOut, IN BOOL bNoFileName, IN BOOL bPaging)
static VOID freep(LPSTR *p)
static LPSTR * split(LPSTR s, LPINT args)
EXPORT int errmsg(char *msg, va_alist)
#define INVALID_HANDLE_VALUE
BOOL WINAPI FindClose(HANDLE hFindFile)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
HLOCAL NTAPI LocalFree(HLOCAL hMem)
#define ERROR_FILE_NOT_FOUND
#define FILE_ATTRIBUTE_DIRECTORY
#define STD_OUTPUT_HANDLE
DWORD WINAPI GetLastError(void)
#define FORMAT_MESSAGE_IGNORE_INSERTS
#define FORMAT_MESSAGE_FROM_SYSTEM
#define FORMAT_MESSAGE_ALLOCATE_BUFFER