added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / workbench / devs / zero_handler_gcc.h
blob76d3d34a7ae431b9cdf1c31c442fbd5b987cba58
1 /*
2 Copyright © 2001-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: ZERO: handler
6 Lang: English
7 */
9 #ifndef ZERO_HANDLER_GCC_H
10 #define ZERO_HANDLER_GCC_H
11 #include <aros/libcall.h>
12 #include <exec/execbase.h>
13 #include <exec/devices.h>
14 #include <dos/dos.h>
16 struct zerobase
18 struct Device device;
19 struct DosLibrary *dosbase;
22 #define expunge() \
23 AROS_LC0(BPTR, expunge, struct zerobase *, zerobase, 3, zero_handler)
25 #ifdef DOSBase
26 #undef DOSBase
27 #endif
28 #define DOSBase zerobase->dosbase
30 #endif