5 * Revision 1.2 1997/02/04 17:34:38 mclareni
6 * Merge Winnt and 97a versions
8 * Revision 1.1.1.1.2.1 1997/01/21 11:29:39 mclareni
9 * All mods for Winnt 96a on winnt branch
11 * Revision 1.1.1.1 1996/02/15 17:49:25 mclareni
15 #include "kerngen/pilot.h"
16 #include "kerngen/fortranc.h"
19 CERN PROGLIB# Z265 RENAMI .VERSION KERNFOR 4.31 911111
21 Fortran interface routine to rename
23 ISTAT = RENAMEF (FROM, TO)
27 ISTAT zero if successful
30 #include "kerngen/fortchar.h"
31 #if defined(CERNLIB_QX_SC)
32 int type_of_call renami_(frpath, topath, lgfr, lgto)
34 #if defined(CERNLIB_QXNO_SC)
35 int type_of_call renami(frpath, topath, lgfr, lgto)
37 #if defined(CERNLIB_QXCAPT)
38 int type_of_call RENAMI(frpath, topath, lgfr, lgto)
40 #if defined(CERNLIB_QMCRY)
43 #if !defined(CERNLIB_QMCRY)
44 char *frpath, *topath;
48 char *ptfr, *ptto, *fchtak();
52 ptfr = fchtak(frpath,*lgfr);
53 if (ptfr == NULL) goto bad;
55 ptto = fchtak(topath,*lgto);
56 if (ptto == NULL) goto pre;
58 istat = rename (ptfr, ptto);
64 /*> END <----------------------------------------------------------*/