1 /* @(#)msg_proc.c 2.1 88/08/11 4.0 RPCSRC */
4 * msg_proc.c: implementation of the remote procedure "printmessage"
8 #include <rpc/rpc.h> /* always need this here */
9 #include "msg.h" /* need this too: msg.h will be generated by rpcgen */
12 * Remote version of "printmessage"
18 static int result; /* must be static! */
21 f = fopen(_PATH_CONSOLE, "w");
26 fprintf(f, "%s\n", *msg);