Xenix

alan krantz al at uniblab.UUCP
Tue Sep 13 09:55:32 AEST 1988


  
  I'm writing a C program using SCO Xenix 386 ver 2.2.?. 
 If i have an open file and want to set that files length
 to zero, do i have to close the file and reopen it.  
 I know if i open an existing file with creat it will truncate
 the length to zero.  I want to be able to do that with a file 
 i have already opened and read from. 
        
                                 thanks

allan krantz    ....uunet!uniblab!al



More information about the Comp.lang.c mailing list