String utility functions for FORTRAN / C compatibility. More...
#include <string.h>
#include "cta_system.h"
#include "cta_datatypes.h"
#include "cta_errors.h"
Go to the source code of this file.
Functions | |
int | CTA_fstr2cstr (char *f_str, char *c_str, int len_f) |
Create C string from FORTRAN string. | |
int | CTA_cstr2fstr (char *c_str, char *f_str, int len_f) |
Create FORTRAN string from C string. |
String utility functions for FORTRAN / C compatibility.
Definition in file f_cta_utils.h.
int CTA_cstr2fstr | ( | char * | c_str, | |
char * | f_str, | |||
int | len_f | |||
) |
Create FORTRAN string from C string.
c_str | I pointer to C string | |
f_str | O buffer for receiving FORTRAN string | |
len_f | I length of C string |
int CTA_fstr2cstr | ( | char * | f_str, | |
char * | c_str, | |||
int | len_f | |||
) |
Create C string from FORTRAN string.
f_str | I pointer to FORTRAN string | |
c_str | O buffer for receiving C string | |
len_f | I length of FORTRAN string |