Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 7/13/2023
Public
Document Table of Contents

svrng_copy_engine

Allocates memory for a new engine and copies over all parameters

Syntax

svrng_engine_t svrng_copy_engine( svrng_engine_t orig_engine )

Input Parameters

orig_engine

Pointer to the engine to be copied

Description

The svrng_copy_engine function allocates memory for a new engine then copies all parameters from original engine to the new engine.

Status flags set

Name

Description

SVRNG_STATUS_ERROR_MEMORY_ALLOC

Memory allocation failure

SVRNG_STATUS_ERROR_BAD_ENGINE

Bad engine (NULL pointer)

Return Values

Pointer to the newly created copy of the original engine, or NULL on error.