Reference

MPIR_fstr2cstr(3)

onvert a Fortran string into a C string.

NAME

MPIR_fstr2cstr - onvert a Fortran string into a C string.

SYNOPSIS

#include "mpi.h"
int MPIR_fstr2cstr (res, reslen, src, srclen)
char * res;
long reslen;
char *src;
long srclen;

INPUT PARAMETERS

resLen

- Length of result space

src

- The Fortran string

srcLen

- Length of the Fortran string

The result is 1 if the assignment was possible without truncation, zero otherwise.

Trailing blanks are removed from the Fortran string.

LOCATION

fstrutils.c