home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 465.lha / ParM_v2.5r / WaitReturn.c < prev    next >
C/C++ Source or Header  |  1991-01-05  |  604b  |  28 lines

  1. /*
  2.  *    WaitReturn.c - Copyright © 1990 by Devil's child.
  3.  *
  4.  *    Created:    30 Oct 1990  16:51:10
  5.  *    Modified:    30 Oct 1990  19:06:45
  6.  *
  7.  *    Make>> cc -qf -ps -m0b -wp -wd -wu -so -hi ram:ParM.syms <file>.c
  8.  *    Make>> ln <file>.o
  9.  *    Make>> Protect <file> +p
  10.  */
  11.  
  12.  
  13. void main(void)
  14. {
  15.     struct ExecBase *SysBase = *((struct ExecBase **)4L);
  16.     struct ArpBase *ArpBase;
  17.     BPTR out;
  18.     char buf[2];
  19.  
  20.     if (!(ArpBase = (struct ArpBase *)OpenLibrary("arp.library", 39L))) return;
  21.     out = Output();
  22.     Write(out, "Hit return...›0 p", 27);
  23.     Read(Input(), buf, 1L);
  24.     Write(out, "›1 p", 9);
  25.     CloseLibrary(ArpBase);
  26. }
  27.  
  28.