home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / vms / 19344 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  1.1 KB

  1. Path: sparky!uunet!mcsun!uknet!miclon!nreadwin
  2. From: nreadwin@micrognosis.co.uk (Neil Readwin)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: C programming question under VMS
  5. Keywords: VMS,C
  6. Message-ID: <BzBHzq.4Ls@micrognosis.co.uk>
  7. Date: 15 Dec 92 20:23:49 GMT
  8. References: <2354@sdrc.COM> <1992Dec9.215244.8634@unet.net.com> <Bz1s8H.55C@micrognosis.co.uk> <2398@sdrc.COM>
  9. Sender: news@micrognosis.co.uk
  10. Organization: Micrognosis, a division of CSK(UK) Ltd
  11. Lines: 14
  12.  
  13. In article <2398@sdrc.COM>, scjones@thor.sdrc.com (Larry Jones) writes:
  14. |> In article <Bz1s8H.55C@micrognosis.co.uk>, [ I wrote ]
  15. |> > You can do what the original poster
  16. |> > asked by opening with mode "a+" and the using fseek to rewind the file.
  17. |> 
  18. |> If that really overwrites the previous contents of the file, it's a bug
  19. |> in VAXCRTL and should not be relied upon.
  20.  
  21. Even though it is clearly not conformant with ANSI C I disagree that it is
  22. a bug (since it appears to be consistent with the documentation), however,
  23. I might concede broken-by-design :-) Neil.
  24. -- 
  25.  Phone: +44 71 815 5283  E-mail: nreadwin@micrognosis.co.uk
  26.  Anything is a cause for sorrow that my mind or body has made
  27.