5 /* (c) Copyright 1988 by the Massachusetts Institute of Technology. */
6 /* For copying and distribution information, please see the file */
7 /* <mit-copyright.h>. */
10 static char *rcsid_inst_001_c = "$Header$";
13 #include <mit-copyright.h>
18 STRING instructions = { 0, 0 };
19 extern CONNECTION conn;
20 extern int have_instructions;
24 * instruction sequence transmission:
26 * >>> (STRING) "inst_001"
28 * >>> (STRING) instructions
36 lose("sending okay for inst_001");
37 code = receive_object(conn, (char *)&instructions, STRING_T);
39 report_error("reporting failure to receive instructions");
42 have_instructions = 1;
44 lose("sending okay after instructions");
46 printf("got instructions: %s\n", STRING_DATA(instructions));