Added truncate message, fixed return codes, backport
[AROS.git] / tools / toollib / stdiocb.h
blob19dae375bc0431ca8a0acc9fa80fee2a8bebe197
1 #ifndef TOOLLIB_STDIOCB_H
2 #define TOOLLIB_STDIOCB_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 #include <stdio.h>
10 #ifndef TOOLLIB_TOOLLIB_H
11 # include <toollib/toollib.h>
12 #endif
13 #ifndef TOOLLIB_MYSTREAM_H
14 # include <toollib/mystream.h>
15 #endif
17 typedef struct
19 MyStream stream;
21 FILE * in;
22 FILE * out;
23 int closein, closeout;
25 StdioStream;
27 extern StdioStream * StdStr_New PARAMS ((const char * path, const char * mode));
28 extern void StdStr_Delete PARAMS ((StdioStream *));
30 #endif /* TOOLLIB_STDIOCB_H */