Path: utzoo!attcan!uunet!uniblab!al From: al@uniblab.UUCP (alan krantz) Newsgroups: comp.lang.c Subject: Xenix Keywords: Xenix, C, Files Message-ID: <171@uniblab.UUCP> Date: 12 Sep 88 23:55:32 GMT Distribution: na Organization: Cunningham Group Inc., Hartford, Ct Lines: 12 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