_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <windows.h>#include <stdio.h>#include <io.h>#include <errno.h>#include <fcntl.h>#include "SetupConsole_win32.h"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 () |
| 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 | ( | ) |
1.8.17
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.