5 * Revision 1.1.1.1 1996/02/15 17:49:40 mclareni
9 #include "kerngen/pilot.h"
11 CERN PROGLIB# FCHTAK .VERSION KERNFOR 4.31 911111
14 copy a Fortran character string
15 to allocated memory zero-terminated,
16 return the memory pointer
19 #include "kerngen/fortchar.h"
20 char *fchtak(ftext,lgtext)
21 #if defined(CERNLIB_QMCRY)
24 #if !defined(CERNLIB_QMCRY)
36 ptalc = malloc (nalc);
37 if (ptalc == NULL) goto exit;
38 #if defined(CERNLIB_QMCRY)
39 utext = _fcdtocp(ftext);
41 #if !defined(CERNLIB_QMCRY)
47 for (jcol = 0; jcol < ntx; jcol++) *ptuse++ = *utext++;
52 /*> END <----------------------------------------------------------*/