_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
SetupConsole_win32.cpp File Reference
#include <windows.h>
#include <stdio.h>
#include <io.h>
#include <errno.h>
#include <fcntl.h>
#include "SetupConsole_win32.h"

Macros

#define _WIN32_WINNT   0x0501
 

Functions

bool IsHandleConsole (HANDLE handle)
 
bool IsStdoutConsole ()
 
bool IsStderrConsole ()
 
bool IsHandleValid (HANDLE handle)
 
bool IsStreamValid (FILE *stream)
 
bool IsFdValid (int fd)
 
bool SetStreamAndFdFromStdConsole (FILE *stream, int fd, DWORD std, bool input)
 
void SetupConsole ()
 

Macro Definition Documentation

#define _WIN32_WINNT   0x0501

Function Documentation

bool IsFdValid ( int  fd)
bool IsHandleConsole ( HANDLE  handle)
bool IsHandleValid ( HANDLE  handle)
bool IsStderrConsole ( )
bool IsStdoutConsole ( )
bool IsStreamValid ( FILE *  stream)
bool SetStreamAndFdFromStdConsole ( FILE *  stream,
int  fd,
DWORD  std,
bool  input 
)
void SetupConsole ( )
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.