co_memory co_memory_create(const char *name, const char *loc, size_t size);
This function creates a shared memory. It must be called from within the configuration function of your application.
The arguments for co_memory_create are as follows:
A pointer to the created memory. This return value may subsequently be used as an argument to the function co_process_create.
Memory names, as specified in the first argument to co_memory_create, must be unique across the application when using the Application Monitor.
In simulation, this function prints an error message and terminates the application if it is called outside the configuration function.