FileStream.st
changeset 7970 2ae69eb663eb
parent 7965 fe275967a21c
child 8034 716b32d832bf
equal deleted inserted replaced
7969:1c252e9cf79c 7970:2ae69eb663eb
    72 #ifdef __VMS__
    72 #ifdef __VMS__
    73 /*
    73 /*
    74  * get those VMS definitions ...
    74  * get those VMS definitions ...
    75  */
    75  */
    76 # include <rms.h>
    76 # include <rms.h>
    77 #endif
       
    78 
       
    79 #ifndef WIN32
       
    80   extern long ftell();
       
    81 # ifndef FREEBSD
       
    82   extern long lseek();
       
    83 # endif
       
    84 # define HFILE FILE *
       
    85 
       
    86 #endif
    77 #endif
    87 
    78 
    88 #ifdef WIN32
    79 #ifdef WIN32
    89 # define NO_STDIO
    80 # define NO_STDIO
    90 # ifdef i386
    81 # ifdef i386
   176 
   167 
   177 /* #  define HFILE HANDLE */
   168 /* #  define HFILE HANDLE */
   178 #  define HFILE FILE *
   169 #  define HFILE FILE *
   179 /* #  define fileno(f) f */
   170 /* #  define fileno(f) f */
   180 
   171 
   181 // extern long lseek();
   172 # ifndef MAXPATHLEN
   182 
   173 #  define MAXPATHLEN MAXPATH
   183 
   174 # endif
   184 #endif /* WIN32 */
   175 
       
   176 #else /* not WIN32 */
       
   177   extern long ftell();
       
   178 # ifndef FREEBSD
       
   179   extern long lseek();
       
   180 # endif
       
   181 # define HFILE FILE *
       
   182 
       
   183 #endif /* WIN32 or not WIN32*/
   185 
   184 
   186 #include "stxOSDefs.h"
   185 #include "stxOSDefs.h"
   187 
   186 
   188 /*
   187 /*
   189  * on some systems errno is a macro ... check for it here
   188  * on some systems errno is a macro ... check for it here
  1442 ! !
  1441 ! !
  1443 
  1442 
  1444 !FileStream class methodsFor:'documentation'!
  1443 !FileStream class methodsFor:'documentation'!
  1445 
  1444 
  1446 version
  1445 version
  1447     ^ '$Header: /cvs/stx/stx/libbasic/FileStream.st,v 1.103 2004-02-18 14:24:31 ca Exp $'
  1446     ^ '$Header: /cvs/stx/stx/libbasic/FileStream.st,v 1.104 2004-02-19 14:13:00 cg Exp $'
  1448 ! !
  1447 ! !
  1449 
  1448 
  1450 FileStream initialize!
  1449 FileStream initialize!