aboutsummaryrefslogtreecommitdiffstats
path: root/stdhandl.h
blob: 39060653bfaa75fc90a078f5eb85bd13c93c6f4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* stdhandl.h */
/*****************************************************************************/
/* AS-Portierung                                                             */
/*                                                                           */
/* Bereitstellung von fuer AS benoetigten Handle-Funktionen                  */
/*                                                                           */
/* Historie:  5. 4.1996 Grundsteinlegung                                     */
/*                                                                           */
/*****************************************************************************/

typedef enum {NoRedir,RedirToDevice,RedirToFile} TRedirected;  /* Umleitung von Handles */

#define NumStdIn 0
#define NumStdOut 1
#define NumStdErr 2

extern TRedirected Redirected;

extern void RewriteStandard(FILE **T, char *Path);

extern void stdhandl_init(void);