Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!uflorida!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.unix.questions Subject: Re: C/UNIX low level I/O Keywords: C, I/O, open, fopen Message-ID: <8823@smoke.BRL.MIL> Date: 2 Nov 88 18:13:41 GMT References: <6695@pyr.gatech.EDU> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 6 In article <6695@pyr.gatech.EDU> david@pyr.gatech.edu (David Brown) writes: > My question: is there a better way to do this? I've thought of using > higher-level I/O routines like fprintf, but I think they would be > less efficient. But less efficient than what I'm doing now? fputs() and fprintf() will undoubtedly be significantly faster than write(), and more portable besides.