5 * Revision 1.2 1997/02/04 17:35:12 mclareni
6 * Merge Winnt and 97a versions
8 * Revision 1.1.1.1.2.1 1997/01/21 11:30:11 mclareni
9 * All mods for Winnt 96a on winnt branch
11 * Revision 1.1.1.1 1996/02/15 17:49:36 mclareni
15 #include "kerngen/pilot.h"
16 #include "kerngen/fortranc.h"
19 CERN PROGLIB# Z310 CFREW .VERSION KERNFOR 4.29 910718
21 CALL CFREW (LUNDES,MEDIUM)
23 LUNDES file descriptor
24 MEDIUM = 0,1,2,3 : primary disk/tape, secondary disk/tape
26 #include "kerngen/cf_seek.h"
27 #include "kerngen/cf_xaft.h"
29 #if defined(CERNLIB_QX_SC)
30 void type_of_call cfrew_(lundes, medium)
32 #if defined(CERNLIB_QXNO_SC)
33 void type_of_call cfrew(lundes, medium)
35 #if defined(CERNLIB_QXCAPT)
36 void type_of_call CFREW(lundes, medium)
44 newpos = lseek (fildes, 0, 0);
45 if (newpos < 0) goto trouble;
48 trouble: perror (" error in CFREW");
51 /*> END <----------------------------------------------------------*/
52 #ifdef CERNLIB_TCGEN_CFREW
53 #undef CERNLIB_TCGEN_CFREW