High Performance OPC UA Server SDK  1.1.0.158
ipc_mem

Functions

void * ua_ipc_mem_open (void)
 Open shared memory allocated by another process. More...
 
void * ua_ipc_mem_create (size_t size)
 Create shared memory for interprocess communication. More...
 
void ua_ipc_mem_clear (void)
 Clear memory allocated with ua_ipc_mem_create.
 

Detailed Description

Function Documentation

void* ua_ipc_mem_create ( size_t  size)

Create shared memory for interprocess communication.

In case MEMORY_USE_SHM is not defined this function might also allocate private non-shared memory.

Parameters
sizeAmount of memory to allocate in bytes.
Returns
Pointer to the allocated memory or NULL in case of error.
void* ua_ipc_mem_open ( void  )

Open shared memory allocated by another process.

In case MEMORY_USE_SHM is not defined this function might return NULL.

Returns
Pointer to shared memory or NULL in case of error or without shared memory.