Reference

MPIR_cstr2fstr(3)

onvert a C string into a Fortran string.

NAME

MPIR_cstr2fstr - onvert a C string into a Fortran string.

SYNOPSIS

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

INPUT PARAMETERS

resLen

- Length of result space

src

- The C string

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

Blank padding is added to the Fortran string as required.

LOCATION

fstrutils.c