F Classified List of CNF Functions

 F.1 Import a FORTRAN String to C
 F.2 Export a C String to FORTRAN
 F.3 String Lengths
 F.4 Miscellaneous String Handling
 F.5 LOGICAL Array Handling
 F.6 Memory and Pointer Handling

F.1 Import a FORTRAN String to C

cnfCreib

  Create a temporary C string and import a blank filled FORTRAN string into it

cnfCreim

  Create a temporary C string and import a FORTRAN string into it

cnfImpb

  Import a FORTRAN string into a C string, retaining trailing blanks

cnfImpbn

  Import no more than max characters from a FORTRAN string into a C string, retaining trailing blanks

cnfImpch

  Import a given number of characters from a FORTRAN string into an array of char

cnfImpn

  Import no more than max characters from a FORTRAN string into a C string

cnfImprt

  Import a FORTRAN string into a C string

cnfImprta

  Import a FORTRAN CHARACTER array into a C array

cnfImprtap

  Import a FORTRAN CHARACTER array into a C array of pointers to char

F.2 Export a C String to FORTRAN

cnfExpch

  Export a given number of characters from an array of char into a FORTRAN string

cnfExpn

  Export a C string to a FORTRAN string, copying given a maximum number of characters

cnfExprt

  Export a C string to a FORTRAN string

cnfExprta

  Export a C string array to a FORTRAN CHARACTER array

cnfExprtap

  Export a C array of pointers to char, to a FORTRAN CHARACTER array

F.3 String Lengths

cnfLenc

  Find the length of a C string

cnfLenf

  Find the length of a FORTRAN string

F.4 Miscellaneous String Handling

cnfCopyf

  Copy one FORTRAN string to another FORTRAN string

cnfCreat

  Create a temporary C string and return a pointer to it

cnfCref

  Create a temporary FORTRAN string and return a pointer to it

cnfCrefa

  Create a temporary FORTRAN CHARACTER array and return a pointer to it

cnfFree

  Free allocated space

cnfFreef

  Return temporary FORTRAN string space

F.5 LOGICAL Array Handling

cnfCrela

  Create a temporary FORTRAN LOGICAL array and return a pointer to it

cnfImpla

  Import a FORTRAN LOGICAL array into a C int array

cnfExpla

  Export a C int array into a FORTRAN LOGICAL array

F.6 Memory and Pointer Handling

cnfCalloc

  Allocate space that may be accessed from C and FORTRAN

cnfCptr

  Convert a FORTRAN pointer to a C pointer

cnfFptr

  Convert a C pointer to a FORTRAN pointer

cnfFree

  Free allocated space

cnfMalloc

  Allocate space that may be accessed from C and FORTRAN

cnfRegp

  Register a pointer for use from both C and FORTRAN

cnfUregp

  Unregister a pointer previously registered using cnfRegp

CNF_PVAL

  Expand a FORTRAN pointer to its full value (FORTRAN function)