This function is intended for constructing null terminated C strings from arrays of characters which are not null terminated, such as when importing a character argument from a Fortran 77 program.
AST A Library for Handling World Coordinate Systems in Astronomy