/* hello_s.c server code for the example application */ #include #include #include #include "hello.h" char **helloworld_1_svc(void *dump, struct svc_req *clnt) { static char* r = new char(32); strcpy(r,"hello world!"); return ((char **) &r); }