Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 3/22/2024
Public
Document Table of Contents

mkl_cvt_to_null_terminated_str

Passes character strings from Fortran routines to C routines.

Syntax

mkl_cvt_to_null_terminated_str (destStr, destLen, srcStr)

Include Files

  • mkl.fi, mkl_dss.f90

Description

The routine mkl_cvt_to_null_terminated_str passes character strings from Fortran routines to C routines. The strings are converted into integer arrays before being passed to C. Using this routine avoids the problems that can occur on some platforms when passing strings from Fortran to C. The use of this routine is highly recommended.

Input Parameters

destLen

INTEGER. Length of the output array destStr.

srcStr

STRING. Input string.

Output Parameters

destStr

INTEGER. One-dimensional array of integers.