2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
7 #include <proto/alib.h>
12 #include "systemtags.h"
15 #include <aros/debug.h>
17 int main(int argc
, char *argv
[])
25 sscanf(argv
[1], "%p", &data
);
27 D(bug("[systemtags_slave]Input: %p, Output: %p\n",
28 data
->input
, data
->output
31 input
= SelectInput(data
->input
);
32 output
= SelectOutput(data
->output
);
36 /* Flush() will remove command line arguments from Input() */
40 FPuts(Output(), "Type something (+return):\n");
41 FGets(Input(), buf
, 80);
42 FPrintf(Output(), "Got: '%s'\n", buf
);