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

The FORTRAN 77 interface is specified in the mkl_dss.f77 include file and the Fortran 90 interface is specified in the mkl_dss.f90 include file.

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 integer.


Submit feedback on this help topic

Copyright © 1994 - 2010, Intel Corporation. All rights reserved.