#include "RTDS_Startup_decl.h" #include "bLocal.h" /* * FUNCTION FOR PROCEDURE Display: * ------------------------------- */ void Display(char *msg, RTDS_GlobalProcessInfo * RTDS_currentContext) { #include"string.h" char *pMsg; int lenMsg; lenMsg = strlen(msg); pMsg = malloc(lenMsg); strcpy(pMsg,msg); RTDS_MSG_QUEUE_SEND_TO_ENV(display, lenMsg, pMsg); }