home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 1
/
GoldFishApril1994_CD2.img
/
d4xx
/
d419
/
parm
/
waitreturn.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-12-18
|
604b
|
28 lines
/*
* WaitReturn.c - Copyright © 1990 by Devil's child.
*
* Created: 30 Oct 1990 16:51:10
* Modified: 30 Oct 1990 19:06:45
*
* Make>> cc -qf -ps -m0b -wp -wd -wu -so -hi ram:ParM.syms <file>.c
* Make>> ln <file>.o
* Make>> Protect <file> +p
*/
void main(void)
{
struct ExecBase *SysBase = *((struct ExecBase **)4L);
struct ArpBase *ArpBase;
BPTR out;
char buf[2];
if (!(ArpBase = (struct ArpBase *)OpenLibrary("arp.library", 39L))) return;
out = Output();
Write(out, "
Hit return...
0 p", 27);
Read(Input(), buf, 1L);
Write(out, "
1 p", 9);
CloseLibrary(ArpBase);
}