next up previous 252
Next: cnfCref - Create a temporary FORTRAN CHARACTER string and return a pointer to it.
Up: CNF C Routine Descriptions
Previous: cnfCptr - Convert a FORTRAN pointer to a C pointer


cnfCreat - Create a temporary C string and return a pointer to it

Description:
Create a temporary C string and return a pointer to it. The space allocated to the C string is `length' characters and is initialized to the null string.

Invocation:
pointer = cnfCreat( length )

Arguments:

int length (Given)
The length of the space to be allocated in characters.

Returned Value:

char *cnfCreat
A pointer to the storage that has been allocated by this routine.

Notes:



next up previous 252
Next: cnfCref - Create a temporary FORTRAN CHARACTER string and return a pointer to it.
Up: CNF C Routine Descriptions
Previous: cnfCptr - Convert a FORTRAN pointer to a C pointer

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