Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

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.