Next: cnfExpla - Export a C int array to a FORTRAN LOGICAL array
Up: CNF C Routine Descriptions
Previous: cnfCrela - Create a temporary FORTRAN LOGICAL array and return a pointer to it.
cnfExpch
- Export a C array of char to a FORTRAN string.
- Description:
- Export a C array of char to a FORTRAN string, copying `nchars' characters.
No characters, are special so this may be used to export an HDS locator
which could contain a null character.
- Invocation:
- cnfExpch( source_c, dest_f, nchars )
- Arguments:
-
-
const char *source_c (Given)
-
A pointer to the input C string
-
char *dest_f (Returned via pointer)
-
A pointer to the output FORTRAN string
-
int nchars (Given)
-
The number of characters to be copied from source_c to dest_f
Next: cnfExpla - Export a C int array to a FORTRAN LOGICAL array
Up: CNF C Routine Descriptions
Previous: cnfCrela - Create a temporary FORTRAN LOGICAL array and return a pointer to it.
CNF and F77 Mixed Language Programming -- FORTRAN and C
Starlink User Note 209
P.M. Allan
A.J. Chipperfield
R.F. Warren-Smith
19 January 2000
E-mail:ussc@star.rl.ac.uk